Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder",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.0009705/0.0009704, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001185/0.001185, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 223.2 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.011/1.011, allocations: 143.4 MB / 434.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003445/0.0003447, allocations: 12 kB / 0.5161 GB, free: 11.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.1653, allocations: 83.41 MB / 0.5975 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.002681/0.168, allocations: 2.179 MB / 0.5997 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.1695, allocations: 0.8459 MB / 0.6005 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002672/0.1698, allocations: 8 kB / 0.6005 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.17, allocations: 39.58 kB / 0.6005 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.1701, allocations: 39.66 kB / 0.6006 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.1706, allocations: 139.4 kB / 0.6007 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.171, allocations: 387.8 kB / 0.6011 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002368/0.1712, allocations: 140.4 kB / 0.6012 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000117/0.1714, allocations: 83.47 kB / 0.6013 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.1715, allocations: 99.3 kB / 0.6014 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.1715, allocations: 8 kB / 0.6014 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 2.307e-05/0.1716, allocations: 4 kB / 0.6014 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.1716, allocations: 39.78 kB / 0.6014 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.946e-05/0.1717, allocations: 93.45 kB / 0.6015 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003937/0.1721, allocations: 0.5106 MB / 0.602 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1721, allocations: 4 kB / 0.602 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1721, allocations: 0 / 0.602 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.1721, allocations: 0 / 0.602 GB, free: 3.09 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008798/0.173, allocations: 0.5843 MB / 0.6026 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.173, allocations: 8.031 kB / 0.6026 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.045e-05/0.1731, allocations: 62.53 kB / 0.6027 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.1732, allocations: 43.48 kB / 0.6027 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.1737, allocations: 366.2 kB / 0.6031 GB, free: 1.941 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.1737, allocations: 28.5 kB / 0.6031 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.69e-05/0.1738, allocations: 24 kB / 0.6031 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006143/0.1744, allocations: 333.4 kB / 0.6034 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1744, allocations: 0 / 0.6034 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.1745, allocations: 12 kB / 0.6034 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.1745, allocations: 4 kB / 0.6034 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005149/0.175, allocations: 246.1 kB / 0.6037 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001623/0.1766, allocations: 1.186 MB / 0.6048 GB, free: 48 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3406/0.5172, allocations: 238.9 kB / 0.6051 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.5175, allocations: 104.9 kB / 0.6052 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.5175, allocations: 2.469 kB / 0.6052 GB, free: 40.83 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.171e-05/0.5175, allocations: 36.56 kB / 0.6052 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=16): time 2.174e-06/0.5175, allocations: 1.938 kB / 0.6052 GB, free: 40.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=16): time 0.0006755/0.5182, allocations: 316.2 kB / 0.6055 GB, free: 40.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.5183, allocations: 81.55 kB / 0.6056 GB, free: 40.67 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.5186, allocations: 324.3 kB / 0.6059 GB, free: 40.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.5186, allocations: 26.2 kB / 0.6059 GB, free: 40.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.5187, allocations: 199.1 kB / 0.6061 GB, free: 40.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.5188, allocations: 55.22 kB / 0.6062 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.5188, allocations: 2.688 kB / 0.6062 GB, free: 40.42 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.178e-05/0.5189, allocations: 346.8 kB / 0.6065 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.519, allocations: 89.12 kB / 0.6066 GB, free: 40.11 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001695/0.5192, allocations: 126 kB / 0.6067 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/0.5194, allocations: 87.47 kB / 0.6068 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5194, allocations: 0 / 0.6068 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003693/0.5197, allocations: 272.6 kB / 0.607 GB, free: 40.03 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.5198, allocations: 109 kB / 0.6071 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5198, allocations: 0 / 0.6071 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5198, allocations: 2.938 kB / 0.6071 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.52, allocations: 36.77 kB / 0.6072 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.52, allocations: 2.781 kB / 0.6072 GB, free: 39.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.5201, allocations: 30.48 kB / 0.6072 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.5202, allocations: 5.562 kB / 0.6072 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.87e-06/0.5202, allocations: 2.688 kB / 0.6072 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002644/0.5204, allocations: 179.9 kB / 0.6074 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/0.5205, allocations: 4.734 kB / 0.6074 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-06/0.5205, allocations: 0 / 0.6074 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.5206, allocations: 29.38 kB / 0.6074 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.5206, allocations: 0 / 0.6074 GB, free: 39.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.5207, allocations: 26.53 kB / 0.6074 GB, free: 39.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.5207, allocations: 5.562 kB / 0.6075 GB, free: 39.89 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 (expMod.oveWriSet_activate,expMod.oveWriAct_activate,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 0.000158/0.5209, allocations: 239.7 kB / 0.6077 GB, free: 39.71 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.865e-05/0.5209, allocations: 31.94 kB / 0.6077 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.627e-05/0.521, allocations: 36.53 kB / 0.6077 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.521, allocations: 3.219 kB / 0.6077 GB, free: 39.69 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.521, allocations: 4.156 kB / 0.6078 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.521, allocations: 3.953 kB / 0.6078 GB, free: 39.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003332/0.5214, allocations: 409.6 kB / 0.6081 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5214, allocations: 0 / 0.6081 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.5215, allocations: 32.88 kB / 0.6082 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.5215, allocations: 0 / 0.6082 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.5216, allocations: 3.734 kB / 0.6082 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.5216, allocations: 0.8438 kB / 0.6082 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5216, allocations: 0 / 0.6082 GB, free: 39.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005544/0.5221, allocations: 458.9 kB / 0.6086 GB, free: 39.33 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.683e-05/0.5222, allocations: 132.9 kB / 0.6087 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.5223, allocations: 8.328 kB / 0.6088 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/0.5224, allocations: 12.75 kB / 0.6088 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.5225, allocations: 13.56 kB / 0.6088 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.016e-05/0.5225, allocations: 7.125 kB / 0.6088 GB, free: 39.21 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001857/0.5227, allocations: 234.3 kB / 0.609 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5227, allocations: 0 / 0.609 GB, free: 39.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003869/0.5231, allocations: 93.28 kB / 0.6091 GB, free: 39.11 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (expMod.oveWriSet_activate,expMod.oveWriAct_activate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0006999/0.5238, allocations: 0.9854 MB / 0.6101 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005125/0.5243, allocations: 297.2 kB / 0.6103 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5243, allocations: 0 / 0.6103 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000163/0.5245, allocations: 99.33 kB / 0.6104 GB, free: 38.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005722/0.5251, allocations: 83.25 kB / 0.6105 GB, free: 38.42 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.5278, allocations: 1.801 MB / 0.6123 GB, free: 37.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.528, allocations: 0.7729 MB / 0.613 GB, free: 37.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001408/0.5281, allocations: 33.55 kB / 0.6131 GB, free: 37.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.5283, allocations: 103.1 kB / 0.6132 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.5283, allocations: 0 / 0.6132 GB, free: 37.02 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01619/0.5445, allocations: 6.062 MB / 0.6191 GB, free: 36.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/0.5447, allocations: 205.7 kB / 0.6193 GB, free: 36.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.734/2.279, allocations: 0 / 0.6193 GB, free: 36.38 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) Environment - environmentSimulation: