Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.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.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor",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.001174/0.001174, allocations: 108 kB / 15.6 MB, free: 132 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.00118/0.00118, allocations: 191.5 kB / 16.53 MB, free: 6.391 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.19/1.19, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002038/0.002038, allocations: 287 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8582/0.8582, allocations: 169.2 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 100.6 kB / 0.5953 GB, free: 27.79 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1202, allocations: 86.98 MB / 0.6803 GB, free: 0.5703 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002509/0.1227, allocations: 1.685 MB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006353/0.1234, allocations: 0.5151 MB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.459e-05/0.1234, allocations: 4.562 kB / 0.6824 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.1238, allocations: 148.1 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.4e-05/0.1239, allocations: 63.72 kB / 0.6826 GB, free: 14.16 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002243/0.1241, allocations: 71.67 kB / 0.6827 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.1242, allocations: 99.56 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.036e-05/0.1243, allocations: 4 kB / 0.6828 GB, free: 13.99 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.215e-05/0.1243, allocations: 35.78 kB / 0.6828 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.079e-05/0.1244, allocations: 59.75 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.1244, allocations: 0 / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000162/0.1246, allocations: 83.84 kB / 0.683 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.474e-05/0.1247, allocations: 55.81 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.1247, allocations: 63.61 kB / 0.6831 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.125, allocations: 187.3 kB / 0.6833 GB, free: 13.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.125, allocations: 3.984 kB / 0.6833 GB, free: 13.51 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.125, allocations: 0 / 0.6833 GB, free: 13.51 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.129e-06/0.125, allocations: 0 / 0.6833 GB, free: 13.51 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.0004802/0.1255, allocations: 474.3 kB / 0.6837 GB, free: 13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.1255, allocations: 15.97 kB / 0.6837 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.086e-05/0.1255, allocations: 34.73 kB / 0.6838 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.1256, allocations: 24.66 kB / 0.6838 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1257, allocations: 219.7 kB / 0.684 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.295e-06/0.1257, allocations: 384 / 0.684 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.123e-06/0.1257, allocations: 384 / 0.684 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.1259, allocations: 65.98 kB / 0.6841 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.1259, allocations: 0 / 0.6841 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1259, allocations: 4 kB / 0.6841 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.126, allocations: 0 / 0.6841 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.1261, allocations: 59.95 kB / 0.6841 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004049/0.1265, allocations: 332.7 kB / 0.6845 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1267, allocations: 70.52 kB / 0.6845 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.154e-05/0.1268, allocations: 32.91 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.192e-05/0.1268, allocations: 15.98 kB / 0.6846 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.1269, allocations: 34.56 kB / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1269, allocations: 0 / 0.6846 GB, free: 11.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003609/0.1272, allocations: 133.4 kB / 0.6847 GB, free: 11.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.1273, allocations: 55.41 kB / 0.6848 GB, free: 11.78 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.1275, allocations: 254.8 kB / 0.685 GB, free: 11.53 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.628e-05/0.1275, allocations: 33.7 kB / 0.6851 GB, free: 11.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.668e-05/0.1276, allocations: 128.1 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.437e-05/0.1276, allocations: 3.906 kB / 0.6852 GB, free: 11.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.1276, allocations: 17.66 kB / 0.6852 GB, free: 11.33 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.138e-05/0.1277, allocations: 330.8 kB / 0.6855 GB, free: 11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.294e-05/0.1278, allocations: 31.97 kB / 0.6855 GB, free: 10.97 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.06e-05/0.1279, allocations: 31.98 kB / 0.6856 GB, free: 10.94 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.1281, allocations: 64.75 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1281, allocations: 3.938 kB / 0.6856 GB, free: 10.87 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002155/0.1283, allocations: 113.3 kB / 0.6858 GB, free: 10.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/0.1283, allocations: 4 kB / 0.6858 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1283, allocations: 8.094 kB / 0.6858 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1283, allocations: 0 / 0.6858 GB, free: 10.74 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.864e-05/0.1284, allocations: 7.984 kB / 0.6858 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.1284, allocations: 0 / 0.6858 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.022e-05/0.1285, allocations: 4 kB / 0.6858 GB, free: 10.73 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.1285, allocations: 4 kB / 0.6858 GB, free: 10.72 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 8.302e-05/0.1286, allocations: 139.1 kB / 0.6859 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.1286, allocations: 15.81 kB / 0.6859 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002502/0.1289, allocations: 122.4 kB / 0.686 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1289, allocations: 4 kB / 0.686 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-06/0.1289, allocations: 0 / 0.686 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1289, allocations: 4 kB / 0.686 GB, free: 10.42 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.1291, allocations: 221.5 kB / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1291, allocations: 0 / 0.6863 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.335e-05/0.1292, allocations: 4 kB / 0.6863 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.1292, allocations: 4 kB / 0.6863 GB, free: 10.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.55e-06/0.1292, allocations: 4.031 kB / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1292, allocations: 0 / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.1292, allocations: 3.984 kB / 0.6863 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.1295, allocations: 199.2 kB / 0.6865 GB, free: 9.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.183e-05/0.1295, allocations: 88.92 kB / 0.6866 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.372e-05/0.1295, allocations: 4 kB / 0.6866 GB, free: 9.82 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.839e-05/0.1296, allocations: 15.95 kB / 0.6866 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.68e-05/0.1297, allocations: 4 kB / 0.6866 GB, free: 9.801 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1297, allocations: 0 / 0.6866 GB, free: 9.801 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001376/0.1298, allocations: 189.9 kB / 0.6868 GB, free: 9.617 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1298, allocations: 0 / 0.6868 GB, free: 9.617 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002485/0.1301, allocations: 39.94 kB / 0.6868 GB, free: 9.578 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.0005265/0.1306, allocations: 0.7746 MB / 0.6875 GB, free: 8.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000212/0.1308, allocations: 63.89 kB / 0.6876 GB, free: 8.715 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1308, allocations: 0 / 0.6876 GB, free: 8.715 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.27e-05/0.1309, allocations: 32.08 kB / 0.6876 GB, free: 8.684 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003956/0.1313, allocations: 49.19 kB / 0.6877 GB, free: 8.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006138/0.132, allocations: 408 kB / 0.6881 GB, free: 8.199 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.1322, allocations: 0.7314 MB / 0.6888 GB, free: 7.441 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.675e-05/0.1323, allocations: 4 kB / 0.6888 GB, free: 7.438 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.1323, allocations: 47.42 kB / 0.6888 GB, free: 7.391 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1323, allocations: 0 / 0.6888 GB, free: 7.391 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4172/0.5495, allocations: 3.916 MB / 0.6927 GB, free: 3.637 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.576/8.126, allocations: 13.36 kB / 0.6927 GB, free: 3.625 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_phiSor.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)