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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8861/0.8862, allocations: 141.8 MB / 149.3 MB, free: 9.203 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 183.8 kB / 182.2 MB, free: 9.438 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 221.5 MB / 436.4 MB, free: 13.3 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009875/0.0009875, allocations: 88.11 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 277 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.984e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4332, allocations: 82.77 MB / 0.7575 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.5871, allocations: 111.7 MB / 0.8666 GB, free: 152 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.5875, allocations: 87.94 kB / 0.8666 GB, free: 64 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.0157/0.6032, allocations: 6.077 MB / 0.8726 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6032, allocations: 3.938 kB / 0.8726 GB, free: 9.898 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.6033, allocations: 4 kB / 0.8726 GB, free: 9.895 MB / 0.5417 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.0005663/0.6038, allocations: 454 kB / 0.873 GB, free: 9.406 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.268e-05/0.6039, allocations: 12.03 kB / 0.873 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.84e-05/0.6039, allocations: 19.72 kB / 0.873 GB, free: 9.375 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.6041, allocations: 210.6 kB / 0.8732 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.6042, allocations: 0 / 0.8732 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.6042, allocations: 0 / 0.8732 GB, free: 9.133 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001852/0.6044, allocations: 91.91 kB / 0.8733 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.6045, allocations: 85.58 kB / 0.8734 GB, free: 8.953 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.6045, allocations: 3.938 kB / 0.8734 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.6046, allocations: 0 / 0.8734 GB, free: 8.949 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.495e-05/0.6046, allocations: 4 kB / 0.8734 GB, free: 8.945 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006379/0.6052, allocations: 369.2 kB / 0.8738 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001615/0.6054, allocations: 106.5 kB / 0.8739 GB, free: 8.434 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.666e-05/0.6055, allocations: 48.89 kB / 0.8739 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 6.314e-05/0.6056, allocations: 31.95 kB / 0.874 GB, free: 8.352 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.6056, allocations: 34.56 kB / 0.874 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.6056, allocations: 0 / 0.874 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.000332/0.6059, allocations: 141.4 kB / 0.8741 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.606, allocations: 55.44 kB / 0.8742 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.6062, allocations: 218.3 kB / 0.8744 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.017e-05/0.6062, allocations: 25.7 kB / 0.8744 GB, free: 7.84 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.6063, allocations: 132.1 kB / 0.8745 GB, free: 7.707 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.6064, allocations: 3.906 kB / 0.8745 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-06/0.6064, allocations: 0 / 0.8745 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.6065, allocations: 342.7 kB / 0.8749 GB, free: 7.359 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.145e-05/0.6066, allocations: 49.97 kB / 0.8749 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.6067, allocations: 43.97 kB / 0.875 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.763e-05/0.6068, allocations: 48.02 kB / 0.875 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6068, allocations: 0 / 0.875 GB, free: 7.223 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002283/0.607, allocations: 145.3 kB / 0.8751 GB, free: 7.074 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.6071, allocations: 4 kB / 0.8751 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6071, allocations: 0 / 0.8751 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.6071, allocations: 3.938 kB / 0.8751 GB, free: 7.066 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.6072, allocations: 19.98 kB / 0.8752 GB, free: 7.047 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.6072, allocations: 0 / 0.8752 GB, free: 7.047 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.6073, allocations: 12.03 kB / 0.8752 GB, free: 7.035 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.6074, allocations: 7.984 kB / 0.8752 GB, free: 7.027 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.109e-05/0.6075, allocations: 108.9 kB / 0.8753 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002449/0.6077, allocations: 137.4 kB / 0.8754 GB, free: 6.773 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.6078, allocations: 27.7 kB / 0.8754 GB, free: 6.746 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003737/0.6081, allocations: 199.4 kB / 0.8756 GB, free: 6.543 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.6081, allocations: 4.031 kB / 0.8756 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6082, allocations: 0 / 0.8756 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.6082, allocations: 0 / 0.8756 GB, free: 6.539 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.6084, allocations: 222.1 kB / 0.8758 GB, free: 6.285 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.6084, allocations: 4 kB / 0.8759 GB, free: 6.281 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.14e-05/0.6085, allocations: 15.98 kB / 0.8759 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.6085, allocations: 0 / 0.8759 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.6086, allocations: 0 / 0.8759 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6086, allocations: 0 / 0.8759 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6086, allocations: 7.938 kB / 0.8759 GB, free: 6.258 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002726/0.6088, allocations: 243.2 kB / 0.8761 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.6089, allocations: 92.83 kB / 0.8762 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.185e-05/0.609, allocations: 3.984 kB / 0.8762 GB, free: 5.891 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.6091, allocations: 8 kB / 0.8762 GB, free: 5.883 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.6091, allocations: 7.984 kB / 0.8762 GB, free: 5.875 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.6092, allocations: 4 kB / 0.8762 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001524/0.6093, allocations: 181.9 kB / 0.8764 GB, free: 5.695 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6093, allocations: 0 / 0.8764 GB, free: 5.695 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003708/0.6097, allocations: 83.8 kB / 0.8765 GB, free: 5.613 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007664/0.6105, allocations: 0.8488 MB / 0.8773 GB, free: 4.738 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001557/0.6106, allocations: 75.97 kB / 0.8774 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.6107, allocations: 0 / 0.8774 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.446e-05/0.6107, allocations: 43.92 kB / 0.8774 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003526/0.6111, allocations: 44.53 kB / 0.8775 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.6118, allocations: 318.9 kB / 0.8778 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003562/0.6122, allocations: 0.7392 MB / 0.8785 GB, free: 3.465 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.118e-05/0.6122, allocations: 8.188 kB / 0.8785 GB, free: 3.453 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.171e-05/0.6123, allocations: 51.41 kB / 0.8785 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of SimCode: time 2.585e-06/0.6123, allocations: 0 / 0.8785 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.6354, allocations: 3.903 MB / 0.8824 GB, free: 15.53 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.6357, allocations: 165.6 kB / 0.8825 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.493, allocations: 0 / 0.8825 GB, free: 15.34 MB / 0.5573 GB (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/linux/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)