Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi",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.0009826/0.0009827, allocations: 108 kB / 15.6 MB, free: 128 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.0009356/0.0009356, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.16/1.16, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001915/0.001915, allocations: 278.9 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.8303/0.8303, allocations: 169.2 MB / 0.4982 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 100 kB / 0.5953 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1168, allocations: 86.99 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.002408/0.1193, allocations: 1.694 MB / 0.6819 GB, free: 14.88 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.1205, allocations: 1.118 MB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.86e-05/0.1206, allocations: 4 kB / 0.683 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003361/0.121, allocations: 151.7 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.591e-05/0.121, allocations: 51.69 kB / 0.6832 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003427/0.1214, allocations: 159.5 kB / 0.6834 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.1215, allocations: 111.5 kB / 0.6835 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.1215, allocations: 7.938 kB / 0.6835 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.142e-05/0.1216, allocations: 39.84 kB / 0.6835 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.321e-05/0.1217, allocations: 51.75 kB / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.1217, allocations: 4 kB / 0.6836 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003047/0.122, allocations: 223.6 kB / 0.6838 GB, free: 12.97 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.123e-05/0.1221, allocations: 59.8 kB / 0.6839 GB, free: 12.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.493e-05/0.1222, allocations: 67.48 kB / 0.6839 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003142/0.1225, allocations: 299.2 kB / 0.6842 GB, free: 12.55 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.1225, allocations: 0 / 0.6842 GB, free: 12.55 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1225, allocations: 0 / 0.6842 GB, free: 12.55 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1225, allocations: 0 / 0.6842 GB, free: 12.55 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.0004919/0.123, allocations: 0.502 MB / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.123, allocations: 8.031 kB / 0.6847 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.1231, allocations: 38.69 kB / 0.6847 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.073e-05/0.1231, allocations: 20.73 kB / 0.6848 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.1232, allocations: 219.7 kB / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.655e-06/0.1232, allocations: 384 / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-06/0.1233, allocations: 4.375 kB / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001751/0.1234, allocations: 85.59 kB / 0.6851 GB, free: 11.59 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.1234, allocations: 3.938 kB / 0.6851 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.206e-06/0.1235, allocations: 3.984 kB / 0.6851 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-06/0.1235, allocations: 0 / 0.6851 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002003/0.1237, allocations: 95.94 kB / 0.6852 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.1241, allocations: 376.8 kB / 0.6855 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001509/0.1243, allocations: 98.53 kB / 0.6856 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1244, allocations: 60.88 kB / 0.6857 GB, free: 10.9 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.164e-05/0.1244, allocations: 23.98 kB / 0.6857 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.1244, allocations: 30.56 kB / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.1244, allocations: 0 / 0.6857 GB, free: 10.84 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000388/0.1248, allocations: 197.2 kB / 0.6859 GB, free: 10.64 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.1249, allocations: 55.53 kB / 0.686 GB, free: 10.57 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001974/0.1251, allocations: 258.7 kB / 0.6862 GB, free: 10.31 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.1251, allocations: 25.7 kB / 0.6862 GB, free: 10.28 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.224e-05/0.1252, allocations: 136.1 kB / 0.6864 GB, free: 10.14 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.1252, allocations: 3.906 kB / 0.6864 GB, free: 10.14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.744e-05/0.1252, allocations: 13.72 kB / 0.6864 GB, free: 10.12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9e-05/0.1253, allocations: 334.8 kB / 0.6867 GB, free: 9.785 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.776e-05/0.1254, allocations: 51.97 kB / 0.6868 GB, free: 9.734 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.325e-05/0.1255, allocations: 47.97 kB / 0.6868 GB, free: 9.688 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.1257, allocations: 104.8 kB / 0.6869 GB, free: 9.582 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.1257, allocations: 0 / 0.6869 GB, free: 9.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002326/0.126, allocations: 141.4 kB / 0.687 GB, free: 9.438 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.126, allocations: 8.094 kB / 0.687 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.126, allocations: 4 kB / 0.687 GB, free: 9.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.126, allocations: 3.938 kB / 0.687 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.568e-05/0.1261, allocations: 11.98 kB / 0.6871 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.417e-06/0.1261, allocations: 0 / 0.6871 GB, free: 9.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.977e-05/0.1261, allocations: 11.92 kB / 0.6871 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.509e-06/0.1262, allocations: 0 / 0.6871 GB, free: 9.398 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.235e-05/0.1262, allocations: 143.1 kB / 0.6872 GB, free: 9.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.539e-05/0.1263, allocations: 23.72 kB / 0.6872 GB, free: 9.227 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002918/0.1266, allocations: 166.4 kB / 0.6874 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1266, allocations: 0 / 0.6874 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.1266, allocations: 0 / 0.6874 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1266, allocations: 0 / 0.6874 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.1268, allocations: 241.5 kB / 0.6876 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1268, allocations: 0 / 0.6876 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.327e-05/0.1269, allocations: 15.98 kB / 0.6876 GB, free: 8.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1269, allocations: 8 kB / 0.6876 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.1269, allocations: 0 / 0.6876 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1269, allocations: 0 / 0.6876 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1269, allocations: 7.922 kB / 0.6877 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002718/0.1272, allocations: 243.2 kB / 0.6879 GB, free: 8.48 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.089e-05/0.1272, allocations: 92.83 kB / 0.688 GB, free: 8.371 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1273, allocations: 4 kB / 0.688 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.585e-05/0.1274, allocations: 11.92 kB / 0.688 GB, free: 8.355 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.1274, allocations: 4 kB / 0.688 GB, free: 8.352 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1274, allocations: 0 / 0.688 GB, free: 8.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001371/0.1275, allocations: 193.9 kB / 0.6882 GB, free: 8.164 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1275, allocations: 0 / 0.6882 GB, free: 8.164 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.1278, allocations: 75.92 kB / 0.6882 GB, free: 8.09 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 (3): * Single equations (assignments): 3 * 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.000611/0.1285, allocations: 0.845 MB / 0.6891 GB, free: 7.219 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002349/0.1287, allocations: 107.8 kB / 0.6892 GB, free: 7.113 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1287, allocations: 0 / 0.6892 GB, free: 7.113 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.1288, allocations: 60.03 kB / 0.6892 GB, free: 7.055 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.1292, allocations: 45.2 kB / 0.6893 GB, free: 7.012 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006282/0.1298, allocations: 455.8 kB / 0.6897 GB, free: 6.527 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.1301, allocations: 0.7353 MB / 0.6904 GB, free: 5.766 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.827e-05/0.1301, allocations: 4 kB / 0.6904 GB, free: 5.762 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.1302, allocations: 47.42 kB / 0.6905 GB, free: 5.715 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1302, allocations: 0 / 0.6905 GB, free: 5.715 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1557/0.2858, allocations: 4.527 MB / 0.6949 GB, free: 1.352 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.633/7.919, allocations: 14.83 kB / 0.6949 GB, free: 1.34 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_dPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)