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.001188/0.001188, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 197 kB / 16.53 MB, free: 6.664 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.17/1.17, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001922/0.001922, allocations: 287 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8466/0.8466, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 95.44 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1138, allocations: 86.98 MB / 0.6803 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002419/0.1162, allocations: 1.695 MB / 0.6819 GB, free: 14.93 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005609/0.1168, allocations: 476.2 kB / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.208e-05/0.1169, allocations: 0.625 kB / 0.6824 GB, free: 14.47 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003311/0.1172, allocations: 148.1 kB / 0.6825 GB, free: 14.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.444e-05/0.1173, allocations: 53.23 kB / 0.6826 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.1175, allocations: 63.8 kB / 0.6826 GB, free: 14.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.1176, allocations: 103.5 kB / 0.6827 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.1176, allocations: 8 kB / 0.6828 GB, free: 14.1 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.912e-05/0.1177, allocations: 39.78 kB / 0.6828 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.24e-05/0.1178, allocations: 55.75 kB / 0.6828 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.1178, allocations: 0 / 0.6828 GB, free: 14.01 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001393/0.1179, allocations: 79.8 kB / 0.6829 GB, free: 13.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.118, allocations: 55.86 kB / 0.683 GB, free: 13.88 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.1181, allocations: 59.56 kB / 0.683 GB, free: 13.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.1183, allocations: 187.3 kB / 0.6832 GB, free: 13.63 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1183, allocations: 0 / 0.6832 GB, free: 13.63 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1183, allocations: 3.938 kB / 0.6832 GB, free: 13.63 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.897e-06/0.1183, allocations: 8 kB / 0.6832 GB, free: 13.62 MB / 494.1 MB 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.0004534/0.1188, allocations: 474.3 kB / 0.6837 GB, free: 13.11 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.082e-05/0.1188, allocations: 12.03 kB / 0.6837 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.489e-05/0.1188, allocations: 30.75 kB / 0.6837 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.942e-05/0.1189, allocations: 24.66 kB / 0.6837 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.119, allocations: 211.8 kB / 0.6839 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.119, allocations: 384 / 0.6839 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.151e-06/0.119, allocations: 384 / 0.6839 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.1192, allocations: 61.98 kB / 0.684 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.79e-06/0.1192, allocations: 0 / 0.684 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-06/0.1192, allocations: 0 / 0.684 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1192, allocations: 3.984 kB / 0.684 GB, free: 12.72 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.1193, allocations: 47.89 kB / 0.684 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.1197, allocations: 328.7 kB / 0.6844 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001123/0.1198, allocations: 42.56 kB / 0.6844 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.875e-05/0.1199, allocations: 28.89 kB / 0.6844 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.12, allocations: 4 kB / 0.6844 GB, free: 12.22 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.12, allocations: 30.56 kB / 0.6845 GB, free: 12.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.12, allocations: 0 / 0.6845 GB, free: 12.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003185/0.1203, allocations: 113.4 kB / 0.6846 GB, free: 12.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.1203, allocations: 51.41 kB / 0.6846 GB, free: 12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.1205, allocations: 258.7 kB / 0.6849 GB, free: 11.74 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.968e-06/0.1206, allocations: 25.7 kB / 0.6849 GB, free: 11.71 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.794e-05/0.1206, allocations: 132.1 kB / 0.685 GB, free: 11.58 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.1207, allocations: 3.906 kB / 0.685 GB, free: 11.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.447e-05/0.1207, allocations: 17.84 kB / 0.685 GB, free: 11.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.631e-05/0.1208, allocations: 334.8 kB / 0.6854 GB, free: 11.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.755e-05/0.1209, allocations: 19.98 kB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.636e-05/0.1209, allocations: 15.98 kB / 0.6854 GB, free: 11.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.1211, allocations: 60.75 kB / 0.6854 GB, free: 11.12 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1211, allocations: 0 / 0.6854 GB, free: 11.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001846/0.1213, allocations: 93.31 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.1213, allocations: 4 kB / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-06/0.1213, allocations: 0 / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.1213, allocations: 0 / 0.6855 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.34e-05/0.1214, allocations: 11.98 kB / 0.6856 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-06/0.1214, allocations: 3.938 kB / 0.6856 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.516e-05/0.1215, allocations: 8.031 kB / 0.6856 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.279e-06/0.1215, allocations: 3.984 kB / 0.6856 GB, free: 10.99 MB / 494.1 MB 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 7.899e-05/0.1216, allocations: 139.1 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.174e-05/0.1216, allocations: 15.81 kB / 0.6857 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002163/0.1218, allocations: 98.45 kB / 0.6858 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1218, allocations: 0 / 0.6858 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1218, allocations: 8.016 kB / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.1218, allocations: 0 / 0.6858 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001645/0.122, allocations: 209.6 kB / 0.686 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.122, allocations: 0 / 0.686 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.214e-05/0.1221, allocations: 11.98 kB / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1221, allocations: 0 / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.24e-06/0.1221, allocations: 0 / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.1221, allocations: 0 / 0.686 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1221, allocations: 4 kB / 0.686 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.1223, allocations: 195.1 kB / 0.6862 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.7e-05/0.1224, allocations: 88.92 kB / 0.6863 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.1224, allocations: 4 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.576e-05/0.1225, allocations: 7.984 kB / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.612e-05/0.1225, allocations: 0 / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-06/0.1225, allocations: 0 / 0.6863 GB, free: 10.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.1227, allocations: 193.9 kB / 0.6865 GB, free: 9.93 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1227, allocations: 4.031 kB / 0.6865 GB, free: 9.926 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1229, allocations: 32 kB / 0.6865 GB, free: 9.895 MB / 494.1 MB 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.000475/0.1234, allocations: 0.7394 MB / 0.6873 GB, free: 9.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1236, allocations: 51.92 kB / 0.6873 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.1236, allocations: 0 / 0.6873 GB, free: 9.078 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.184e-05/0.1237, allocations: 27.97 kB / 0.6873 GB, free: 9.051 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003688/0.1241, allocations: 45.28 kB / 0.6874 GB, free: 9.008 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005713/0.1246, allocations: 396 kB / 0.6878 GB, free: 8.582 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.1249, allocations: 0.7275 MB / 0.6885 GB, free: 7.828 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.805e-05/0.1249, allocations: 11.98 kB / 0.6885 GB, free: 7.816 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.949e-05/0.125, allocations: 47.42 kB / 0.6885 GB, free: 7.77 MB / 494.1 MB Notification: Performance of SimCode: time 2.8e-07/0.125, allocations: 0 / 0.6885 GB, free: 7.77 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3834/0.5084, allocations: 3.895 MB / 0.6923 GB, free: 4.043 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/8.123, allocations: 20.52 kB / 0.6923 GB, free: 4.027 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_myPhiMoist.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)