Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004584/0.004584, allocations: 99.83 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002095/0.002095, allocations: 279.5 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8935/0.8935, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002923/0.002924, allocations: 95.84 kB / 0.681 GB, free: 7.512 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4091, allocations: 86.97 MB / 0.7659 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002701/0.4118, allocations: 1.704 MB / 0.7676 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00072/0.4125, allocations: 482.1 kB / 0.768 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.4126, allocations: 4 kB / 0.768 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004472/0.4131, allocations: 143.4 kB / 0.7682 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.681e-05/0.4132, allocations: 51.72 kB / 0.7682 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002541/0.4134, allocations: 55.81 kB / 0.7683 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.4136, allocations: 103.5 kB / 0.7684 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.383e-05/0.4137, allocations: 7.797 kB / 0.7684 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.409e-05/0.4137, allocations: 43.78 kB / 0.7684 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.316e-05/0.4138, allocations: 43.84 kB / 0.7684 GB, free: 1.297 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.4139, allocations: 4 kB / 0.7684 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.414, allocations: 83.84 kB / 0.7685 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.262e-05/0.4141, allocations: 63.78 kB / 0.7686 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.159e-05/0.4142, allocations: 59.56 kB / 0.7686 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002714/0.4145, allocations: 184.4 kB / 0.7688 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4145, allocations: 8 kB / 0.7688 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4145, allocations: 0 / 0.7688 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.4145, allocations: 0 / 0.7688 GB, free: 0.9062 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005964/0.4151, allocations: 490.1 kB / 0.7693 GB, free: 388 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4152, allocations: 12.03 kB / 0.7693 GB, free: 376 kB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.276e-05/0.4152, allocations: 34.69 kB / 0.7693 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.4152, allocations: 16.84 kB / 0.7694 GB, free: 316 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.4154, allocations: 219.9 kB / 0.7696 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.4154, allocations: 384 / 0.7696 GB, free: 56 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.4154, allocations: 4.312 kB / 0.7696 GB, free: 52 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.4156, allocations: 57.98 kB / 0.7696 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.4157, allocations: 0 / 0.7696 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.4157, allocations: 7.938 kB / 0.7696 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.4157, allocations: 0 / 0.7696 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001681/0.4159, allocations: 39.95 kB / 0.7697 GB, free: 15.94 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.4163, allocations: 316.8 kB / 0.77 GB, free: 15.58 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.4164, allocations: 50.55 kB / 0.77 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.834e-05/0.4165, allocations: 28.89 kB / 0.7701 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.287e-05/0.4166, allocations: 4 kB / 0.7701 GB, free: 15.49 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.4166, allocations: 38.5 kB / 0.7701 GB, free: 15.44 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.4166, allocations: 0 / 0.7701 GB, free: 15.44 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003721/0.417, allocations: 109.6 kB / 0.7702 GB, free: 15.33 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.417, allocations: 51.41 kB / 0.7702 GB, free: 15.27 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.4173, allocations: 258.7 kB / 0.7705 GB, free: 15.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.4173, allocations: 25.7 kB / 0.7705 GB, free: 14.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.4174, allocations: 132.1 kB / 0.7706 GB, free: 14.85 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.744e-05/0.4174, allocations: 15.88 kB / 0.7707 GB, free: 14.83 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.4174, allocations: 13.72 kB / 0.7707 GB, free: 14.81 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4175, allocations: 334.8 kB / 0.771 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.408e-05/0.4176, allocations: 20.02 kB / 0.771 GB, free: 14.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.702e-05/0.4177, allocations: 19.98 kB / 0.771 GB, free: 14.44 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.4179, allocations: 52.69 kB / 0.7711 GB, free: 14.38 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.4179, allocations: 0 / 0.7711 GB, free: 14.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002083/0.4181, allocations: 97.58 kB / 0.7712 GB, free: 14.28 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.4181, allocations: 4 kB / 0.7712 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.4181, allocations: 0 / 0.7712 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4181, allocations: 0 / 0.7712 GB, free: 14.28 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.481e-05/0.4182, allocations: 11.98 kB / 0.7712 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.4182, allocations: 0 / 0.7712 GB, free: 14.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.605e-05/0.4183, allocations: 7.984 kB / 0.7712 GB, free: 14.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.4183, allocations: 0 / 0.7712 GB, free: 14.26 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.317e-05/0.4184, allocations: 144.2 kB / 0.7713 GB, free: 14.11 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.801e-05/0.4185, allocations: 19.86 kB / 0.7714 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002453/0.4187, allocations: 106.4 kB / 0.7715 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4187, allocations: 0 / 0.7715 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4187, allocations: 3.938 kB / 0.7715 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.4188, allocations: 0 / 0.7715 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/0.4189, allocations: 209.6 kB / 0.7717 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.419, allocations: 0 / 0.7717 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.419, allocations: 16.02 kB / 0.7717 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.419, allocations: 0 / 0.7717 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.419, allocations: 0 / 0.7717 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.419, allocations: 0 / 0.7717 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4191, allocations: 0 / 0.7717 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.4193, allocations: 195.2 kB / 0.7719 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.477e-05/0.4194, allocations: 93.05 kB / 0.7719 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/0.4194, allocations: 0 / 0.7719 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.681e-05/0.4195, allocations: 7.984 kB / 0.772 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.4195, allocations: 4 kB / 0.772 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4196, allocations: 0 / 0.772 GB, free: 13.38 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001584/0.4197, allocations: 189.9 kB / 0.7721 GB, free: 13.19 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4197, allocations: 0 / 0.7721 GB, free: 13.19 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002663/0.42, allocations: 35.94 kB / 0.7722 GB, free: 13.16 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000668/0.4207, allocations: 0.7512 MB / 0.7729 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002109/0.4209, allocations: 35.97 kB / 0.7729 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4209, allocations: 4.094 kB / 0.7729 GB, free: 12.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.934e-05/0.421, allocations: 27.97 kB / 0.773 GB, free: 12.31 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000465/0.4215, allocations: 44.45 kB / 0.773 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007193/0.4222, allocations: 393.9 kB / 0.7734 GB, free: 11.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.4225, allocations: 0.7314 MB / 0.7741 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.646e-05/0.4226, allocations: 7.75 kB / 0.7741 GB, free: 11.08 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.121e-05/0.4227, allocations: 51.42 kB / 0.7742 GB, free: 11.03 MB / 0.545 GB Notification: Performance of SimCode: time 3.5e-07/0.4227, allocations: 4 kB / 0.7742 GB, free: 11.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/0.4429, allocations: 3.948 MB / 0.778 GB, free: 7.266 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.178/7.62, allocations: 4.562 kB / 0.778 GB, free: 7.262 MB / 0.545 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)