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.008416/0.008416, allocations: 102.5 kB / 15.74 MB, free: 6.027 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.002233/0.002233, allocations: 194.7 kB / 16.67 MB, free: 5.961 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.447/1.447, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002502/0.002502, allocations: 278.6 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.056/1.056, allocations: 178.6 MB / 0.5074 GB, free: 4.504 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002681/0.002681, allocations: 99.84 kB / 0.6943 GB, free: 3.637 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.5093, allocations: 89.15 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.00313/0.5125, allocations: 1.71 MB / 0.783 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0007307/0.5132, allocations: 470.7 kB / 0.7834 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.056e-05/0.5133, allocations: 1.594 kB / 0.7834 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004229/0.5137, allocations: 144.2 kB / 0.7836 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.95e-05/0.5138, allocations: 49.58 kB / 0.7836 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.5141, allocations: 61.64 kB / 0.7837 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.5142, allocations: 105.5 kB / 0.7838 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.48e-05/0.5143, allocations: 5.422 kB / 0.7838 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.756e-05/0.5143, allocations: 35.89 kB / 0.7838 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 9.644e-05/0.5144, allocations: 51.78 kB / 0.7839 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.539e-05/0.5145, allocations: 3.094 kB / 0.7839 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001889/0.5147, allocations: 81.88 kB / 0.784 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.119e-05/0.5148, allocations: 62.27 kB / 0.784 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.5148, allocations: 60.59 kB / 0.7841 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002942/0.5151, allocations: 189.2 kB / 0.7843 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.5152, allocations: 4 kB / 0.7843 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5152, allocations: 0 / 0.7843 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.5152, allocations: 1.281 kB / 0.7843 GB, free: 11.99 MB / 0.5606 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.0006621/0.5158, allocations: 491.5 kB / 0.7847 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/0.5159, allocations: 9.094 kB / 0.7847 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.66e-05/0.5159, allocations: 37.19 kB / 0.7848 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.516, allocations: 16.41 kB / 0.7848 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.5162, allocations: 219 kB / 0.785 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.677e-06/0.5162, allocations: 1.469 kB / 0.785 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.39e-05/0.5162, allocations: 5.75 kB / 0.785 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.5164, allocations: 60.7 kB / 0.7851 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.407e-06/0.5164, allocations: 0 / 0.7851 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.5164, allocations: 4 kB / 0.7851 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.5164, allocations: 1.188 kB / 0.7851 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.5166, allocations: 40.05 kB / 0.7851 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005021/0.5171, allocations: 322.6 kB / 0.7854 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.5173, allocations: 42.59 kB / 0.7855 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.954e-05/0.5174, allocations: 27.91 kB / 0.7855 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.5174, allocations: 3.453 kB / 0.7855 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.5175, allocations: 40.42 kB / 0.7855 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.322e-06/0.5175, allocations: 0 / 0.7855 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004277/0.5179, allocations: 109.2 kB / 0.7856 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.497e-05/0.518, allocations: 53.34 kB / 0.7857 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.5182, allocations: 256.8 kB / 0.7859 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.5183, allocations: 26.36 kB / 0.7859 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.5184, allocations: 136.3 kB / 0.7861 GB, free: 10.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.5184, allocations: 9.438 kB / 0.7861 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.5185, allocations: 12.67 kB / 0.7861 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.5186, allocations: 330.8 kB / 0.7864 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.577e-05/0.5187, allocations: 22.14 kB / 0.7864 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.654e-05/0.5188, allocations: 24.95 kB / 0.7865 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.519, allocations: 52.27 kB / 0.7865 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.519, allocations: 0 / 0.7865 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000234/0.5192, allocations: 93.23 kB / 0.7866 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.5193, allocations: 5.969 kB / 0.7866 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5193, allocations: 0 / 0.7866 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.5193, allocations: 0 / 0.7866 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.85e-05/0.5194, allocations: 10.48 kB / 0.7866 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.5194, allocations: 8.016 kB / 0.7866 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.674e-05/0.5195, allocations: 6.391 kB / 0.7866 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.5195, allocations: 1.281 kB / 0.7866 GB, free: 9.969 MB / 0.5606 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 0.0001201/0.5196, allocations: 142 kB / 0.7868 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.5197, allocations: 20.89 kB / 0.7868 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.5199, allocations: 98.58 kB / 0.7869 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.52, allocations: 5.219 kB / 0.7869 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.52, allocations: 0 / 0.7869 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.52, allocations: 9.859 kB / 0.7869 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002434/0.5202, allocations: 209.9 kB / 0.7871 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5202, allocations: 1.969 kB / 0.7871 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.689e-05/0.5203, allocations: 7.672 kB / 0.7871 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.5203, allocations: 1.812 kB / 0.7871 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.5203, allocations: 0 / 0.7871 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5203, allocations: 0.6562 kB / 0.7871 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.5203, allocations: 1.531 kB / 0.7871 GB, free: 9.555 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.5206, allocations: 192.1 kB / 0.7873 GB, free: 9.398 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.815e-05/0.5207, allocations: 89.88 kB / 0.7874 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.308e-05/0.5207, allocations: 2.203 kB / 0.7874 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/0.5208, allocations: 5.141 kB / 0.7874 GB, free: 9.297 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.5209, allocations: 6.672 kB / 0.7874 GB, free: 9.293 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.5209, allocations: 5.5 kB / 0.7874 GB, free: 9.289 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001895/0.5211, allocations: 189.3 kB / 0.7876 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5211, allocations: 0 / 0.7876 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002808/0.5214, allocations: 34.67 kB / 0.7876 GB, free: 9.18 MB / 0.5606 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.0007159/0.5221, allocations: 0.7464 MB / 0.7883 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002385/0.5224, allocations: 42.36 kB / 0.7884 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.5224, allocations: 3.938 kB / 0.7884 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.647e-05/0.5225, allocations: 24.97 kB / 0.7884 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.523, allocations: 48.94 kB / 0.7884 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007682/0.5237, allocations: 394.2 kB / 0.7888 GB, free: 8.207 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004026/0.5241, allocations: 0.7387 MB / 0.7895 GB, free: 7.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.246e-05/0.5242, allocations: 7.844 kB / 0.7896 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.5243, allocations: 50.16 kB / 0.7896 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5243, allocations: 0 / 0.7896 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.5507, allocations: 3.944 MB / 0.7935 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.641, allocations: 21.09 kB / 0.7935 GB, free: 6.652 MB / 0.5606 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)