Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,fileNamePrefix="BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi",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.003909/0.003909, allocations: 96.7 kB / 15.73 MB, free: 6.484 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.001082/0.001082, allocations: 192.2 kB / 16.67 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002355/0.002355, allocations: 287 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9463/0.9463, allocations: 169.3 MB / 0.4983 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002465/0.002465, allocations: 100.4 kB / 0.6809 GB, free: 36 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1502, allocations: 86.97 MB / 0.7659 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.00267/0.1529, allocations: 1.717 MB / 0.7676 GB, free: 7.258 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1542, allocations: 0.9972 MB / 0.7685 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.006e-05/0.1542, allocations: 0 / 0.7685 GB, free: 6.258 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003352/0.1546, allocations: 147.5 kB / 0.7687 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 7.104e-05/0.1547, allocations: 51.67 kB / 0.7687 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1549, allocations: 103.6 kB / 0.7688 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001307/0.1551, allocations: 107.5 kB / 0.7689 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.426e-05/0.1551, allocations: 12.22 kB / 0.7689 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.518e-05/0.1552, allocations: 35.83 kB / 0.769 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.496e-05/0.1553, allocations: 47.78 kB / 0.769 GB, free: 5.762 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1553, allocations: 4 kB / 0.769 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000246/0.1555, allocations: 147.7 kB / 0.7692 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.684e-05/0.1556, allocations: 63.78 kB / 0.7692 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 5.819e-05/0.1557, allocations: 59.56 kB / 0.7693 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003207/0.156, allocations: 250.9 kB / 0.7695 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.156, allocations: 0 / 0.7695 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.273e-06/0.156, allocations: 0 / 0.7695 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.156, allocations: 0 / 0.7695 GB, free: 5.246 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.0005757/0.1566, allocations: 0.4941 MB / 0.77 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1567, allocations: 12.03 kB / 0.77 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.1567, allocations: 30.75 kB / 0.77 GB, free: 4.652 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.1567, allocations: 20.8 kB / 0.7701 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.1569, allocations: 219.9 kB / 0.7703 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1569, allocations: 8.375 kB / 0.7703 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.1569, allocations: 384 / 0.7703 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001734/0.1571, allocations: 61.61 kB / 0.7703 GB, free: 4.305 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.1571, allocations: 3.938 kB / 0.7703 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.1572, allocations: 4 kB / 0.7703 GB, free: 4.297 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.417e-06/0.1572, allocations: 4 kB / 0.7703 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.1573, allocations: 63.94 kB / 0.7704 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.1578, allocations: 328.8 kB / 0.7707 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.1579, allocations: 62.55 kB / 0.7708 GB, free: 3.789 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.098e-05/0.158, allocations: 40.89 kB / 0.7708 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.1581, allocations: 8 kB / 0.7708 GB, free: 3.738 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.1581, allocations: 34.56 kB / 0.7709 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1581, allocations: 0 / 0.7709 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003611/0.1585, allocations: 145.5 kB / 0.771 GB, free: 3.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.419e-05/0.1585, allocations: 51.41 kB / 0.771 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000244/0.1588, allocations: 258.7 kB / 0.7713 GB, free: 3.227 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.1588, allocations: 25.7 kB / 0.7713 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.285e-05/0.1589, allocations: 136.1 kB / 0.7714 GB, free: 3.059 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.665e-05/0.1589, allocations: 3.953 kB / 0.7715 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.052e-05/0.1589, allocations: 21.66 kB / 0.7715 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1591, allocations: 334.8 kB / 0.7718 GB, free: 2.691 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.747e-05/0.1592, allocations: 32.02 kB / 0.7718 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/0.1593, allocations: 27.97 kB / 0.7718 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001555/0.1594, allocations: 64.81 kB / 0.7719 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1594, allocations: 0 / 0.7719 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002223/0.1596, allocations: 117.5 kB / 0.772 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.1597, allocations: 4 kB / 0.772 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.1597, allocations: 0 / 0.772 GB, free: 2.441 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1597, allocations: 4 kB / 0.772 GB, free: 2.438 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.76e-05/0.1598, allocations: 4 kB / 0.772 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.379e-06/0.1598, allocations: 0 / 0.772 GB, free: 2.434 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.555e-05/0.1599, allocations: 7.984 kB / 0.772 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1599, allocations: 0 / 0.772 GB, free: 2.426 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.0001237/0.16, allocations: 150.4 kB / 0.7722 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/0.16, allocations: 15.91 kB / 0.7722 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002678/0.1603, allocations: 118.4 kB / 0.7723 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.1603, allocations: 0 / 0.7723 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1603, allocations: 0 / 0.7723 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1603, allocations: 3.984 kB / 0.7723 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002497/0.1606, allocations: 217.6 kB / 0.7725 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.1606, allocations: 0 / 0.7725 GB, free: 1.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.635e-05/0.1607, allocations: 16.02 kB / 0.7725 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1607, allocations: 0 / 0.7725 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.453e-06/0.1607, allocations: 0 / 0.7725 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1607, allocations: 0 / 0.7725 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1607, allocations: 3.938 kB / 0.7725 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002793/0.161, allocations: 211.3 kB / 0.7727 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.1611, allocations: 97 kB / 0.7728 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.26e-05/0.1611, allocations: 4 kB / 0.7728 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1612, allocations: 7.984 kB / 0.7728 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.1612, allocations: 0 / 0.7728 GB, free: 1.496 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.1613, allocations: 4 kB / 0.7729 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001828/0.1614, allocations: 193.9 kB / 0.773 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1614, allocations: 0 / 0.773 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000362/0.1618, allocations: 51.88 kB / 0.7731 GB, free: 1.25 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.0006861/0.1625, allocations: 0.794 MB / 0.7739 GB, free: 440 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.1628, allocations: 59.95 kB / 0.7739 GB, free: 380 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1628, allocations: 8.094 kB / 0.7739 GB, free: 372 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.1629, allocations: 35.91 kB / 0.774 GB, free: 336 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004911/0.1634, allocations: 44.45 kB / 0.774 GB, free: 292 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2625/0.4258, allocations: 414.8 kB / 0.7744 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.426, allocations: 0.7329 MB / 0.7751 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.342e-05/0.4261, allocations: 10.16 kB / 0.7751 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.877e-05/0.4262, allocations: 48.48 kB / 0.7752 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.4262, allocations: 1.406 kB / 0.7752 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.186/1.612, allocations: 4.145 MB / 0.7792 GB, free: 13.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/13.14, allocations: 9.25 kB / 0.7792 GB, free: 13.58 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_HAM_HeatAndMoistureTransport_Functions_Examples_wDerPhi.fmu > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)