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.005629/0.005629, allocations: 103.1 kB / 15.73 MB, free: 6.004 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.001282/0.001282, allocations: 193.8 kB / 16.68 MB, free: 5.93 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002319/0.002318, allocations: 297.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8919/0.8919, allocations: 169.2 MB / 0.4983 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 91.86 kB / 0.6809 GB, free: 7.523 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.414, allocations: 86.98 MB / 0.7659 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi): time 0.004231/0.4183, allocations: 1.708 MB / 0.7676 GB, free: 2.219 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001886/0.4202, allocations: 1.11 MB / 0.7686 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001111/0.4204, allocations: 4 kB / 0.7686 GB, free: 1.102 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005891/0.421, allocations: 150.3 kB / 0.7688 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.4212, allocations: 55.67 kB / 0.7688 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006382/0.4219, allocations: 159.5 kB / 0.769 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002306/0.4221, allocations: 107.5 kB / 0.7691 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.031e-05/0.4222, allocations: 11.98 kB / 0.7691 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.4223, allocations: 35.78 kB / 0.7691 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.4226, allocations: 59.75 kB / 0.7692 GB, free: 0.5352 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.4226, allocations: 4 kB / 0.7692 GB, free: 0.5312 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006092/0.4232, allocations: 227.6 kB / 0.7694 GB, free: 316 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001137/0.4233, allocations: 63.8 kB / 0.7695 GB, free: 252 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 9.081e-05/0.4234, allocations: 59.56 kB / 0.7695 GB, free: 192 kB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000615/0.4241, allocations: 311.1 kB / 0.7698 GB, free: 15.88 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.469e-06/0.4241, allocations: 0 / 0.7698 GB, free: 15.88 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.263e-06/0.4241, allocations: 0 / 0.7698 GB, free: 15.88 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.061e-06/0.4241, allocations: 0 / 0.7698 GB, free: 15.88 MB / 0.545 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.0008587/0.425, allocations: 0.4943 MB / 0.7703 GB, free: 15.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/0.425, allocations: 12.03 kB / 0.7703 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.4251, allocations: 30.75 kB / 0.7704 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.202e-05/0.4251, allocations: 20.75 kB / 0.7704 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.4254, allocations: 219.6 kB / 0.7706 GB, free: 15.02 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.4254, allocations: 8.312 kB / 0.7706 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.553e-05/0.4254, allocations: 384 / 0.7706 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.4258, allocations: 85.59 kB / 0.7707 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.4258, allocations: 0 / 0.7707 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.4259, allocations: 0 / 0.7707 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.4259, allocations: 3.938 kB / 0.7707 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/0.4262, allocations: 103.9 kB / 0.7708 GB, free: 14.81 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007776/0.427, allocations: 376.8 kB / 0.7711 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.4273, allocations: 106.5 kB / 0.7712 GB, free: 14.28 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00018/0.4275, allocations: 52.89 kB / 0.7713 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.849e-05/0.4275, allocations: 27.98 kB / 0.7713 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.4276, allocations: 30.56 kB / 0.7713 GB, free: 14.16 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.4276, allocations: 0 / 0.7713 GB, free: 14.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0006264/0.4282, allocations: 193.3 kB / 0.7715 GB, free: 13.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.4283, allocations: 55.34 kB / 0.7716 GB, free: 13.9 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003286/0.4286, allocations: 266.8 kB / 0.7718 GB, free: 13.64 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.4287, allocations: 25.7 kB / 0.7719 GB, free: 13.61 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.4288, allocations: 136.1 kB / 0.772 GB, free: 13.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.4289, allocations: 7.906 kB / 0.772 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.556e-05/0.4289, allocations: 9.719 kB / 0.772 GB, free: 13.45 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002975/0.4292, allocations: 338.8 kB / 0.7723 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.4294, allocations: 47.97 kB / 0.7724 GB, free: 13.06 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.4295, allocations: 47.97 kB / 0.7724 GB, free: 13.01 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.4299, allocations: 100.8 kB / 0.7725 GB, free: 12.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4299, allocations: 0 / 0.7725 GB, free: 12.91 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005102/0.4304, allocations: 145.4 kB / 0.7727 GB, free: 12.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.4304, allocations: 4 kB / 0.7727 GB, free: 12.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.4304, allocations: 4.094 kB / 0.7727 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.4305, allocations: 4 kB / 0.7727 GB, free: 12.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.4306, allocations: 7.984 kB / 0.7727 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4306, allocations: 0 / 0.7727 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.4307, allocations: 4 kB / 0.7727 GB, free: 12.74 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.4307, allocations: 4 kB / 0.7727 GB, free: 12.73 MB / 0.545 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.0001577/0.4309, allocations: 137.8 kB / 0.7728 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.431, allocations: 19.72 kB / 0.7728 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004607/0.4315, allocations: 174.5 kB / 0.773 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.4315, allocations: 0 / 0.773 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4315, allocations: 4 kB / 0.773 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4315, allocations: 0 / 0.773 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003808/0.4319, allocations: 237.5 kB / 0.7732 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.4319, allocations: 3.938 kB / 0.7732 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.926e-05/0.432, allocations: 15.92 kB / 0.7732 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.432, allocations: 3.938 kB / 0.7732 GB, free: 12.08 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.432, allocations: 8 kB / 0.7733 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.4321, allocations: 0 / 0.7733 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4321, allocations: 0 / 0.7733 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.4326, allocations: 255.2 kB / 0.7735 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.119e-05/0.4326, allocations: 88.92 kB / 0.7736 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.4327, allocations: 4 kB / 0.7736 GB, free: 11.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.4328, allocations: 7.984 kB / 0.7736 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.802e-05/0.4329, allocations: 4 kB / 0.7736 GB, free: 11.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.4329, allocations: 4 kB / 0.7736 GB, free: 11.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002873/0.4332, allocations: 193.9 kB / 0.7738 GB, free: 11.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4332, allocations: 0 / 0.7738 GB, free: 11.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0006399/0.4339, allocations: 71.94 kB / 0.7739 GB, free: 11.43 MB / 0.545 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 (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.001164/0.4351, allocations: 0.8604 MB / 0.7747 GB, free: 10.54 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004608/0.4355, allocations: 95.94 kB / 0.7748 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4356, allocations: 0 / 0.7748 GB, free: 10.45 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.4357, allocations: 59.89 kB / 0.7748 GB, free: 10.39 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006408/0.4364, allocations: 45.66 kB / 0.7749 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009349/0.4373, allocations: 436 kB / 0.7753 GB, free: 9.875 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.4378, allocations: 0.7392 MB / 0.776 GB, free: 9.109 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.239e-05/0.4378, allocations: 11.75 kB / 0.776 GB, free: 9.098 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.574e-05/0.4379, allocations: 51.41 kB / 0.7761 GB, free: 9.047 MB / 0.545 GB Notification: Performance of SimCode: time 4.01e-07/0.4379, allocations: 0 / 0.7761 GB, free: 9.047 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02389/0.4618, allocations: 4.626 MB / 0.7806 GB, free: 4.605 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.273/7.735, allocations: 12.27 kB / 0.7806 GB, free: 4.594 MB / 0.545 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/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)