Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_8_Buildings_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.001255/0.001255, allocations: 109.4 kB / 15.69 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.001371/0.001371, allocations: 187.8 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.377/1.377, allocations: 205.1 MB / 222.5 MB, free: 4.574 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 71.14 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2431, allocations: 114.6 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder): time 0.00392/0.247, allocations: 2.636 MB / 0.7862 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001542/0.2486, allocations: 0.9439 MB / 0.7871 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.2488, allocations: 11.94 kB / 0.7871 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001985/0.249, allocations: 67.39 kB / 0.7872 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001472/0.2492, allocations: 67.34 kB / 0.7873 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.2496, allocations: 226.3 kB / 0.7875 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004124/0.25, allocations: 471.6 kB / 0.7879 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003249/0.2504, allocations: 233.3 kB / 0.7881 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.2505, allocations: 143.4 kB / 0.7883 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.2507, allocations: 147.2 kB / 0.7884 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.2507, allocations: 48 kB / 0.7885 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.073e-05/0.2508, allocations: 52 kB / 0.7885 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.656e-05/0.2509, allocations: 91.66 kB / 0.7886 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.251, allocations: 187 kB / 0.7888 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.2515, allocations: 0.6308 MB / 0.7894 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2515, allocations: 0 / 0.7894 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.32e-07/0.2515, allocations: 0 / 0.7894 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.969e-06/0.2515, allocations: 8 kB / 0.7894 GB, free: 7.273 MB / 0.6075 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.0008511/0.2524, allocations: 0.6467 MB / 0.79 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.2524, allocations: 8.031 kB / 0.7901 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.32e-05/0.2525, allocations: 58.73 kB / 0.7901 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.2526, allocations: 40.47 kB / 0.7901 GB, free: 6.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.2531, allocations: 411.2 kB / 0.7905 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.621e-05/0.2531, allocations: 20.94 kB / 0.7906 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.158e-05/0.2531, allocations: 24.38 kB / 0.7906 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.2537, allocations: 333.5 kB / 0.7909 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.2537, allocations: 0 / 0.7909 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.2537, allocations: 8 kB / 0.7909 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.2538, allocations: 8 kB / 0.7909 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00045/0.2542, allocations: 234.1 kB / 0.7911 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/0.2556, allocations: 1.163 MB / 0.7923 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004682/0.2561, allocations: 234.8 kB / 0.7925 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.2563, allocations: 100.8 kB / 0.7926 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.2563, allocations: 0 / 0.7926 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.2564, allocations: 34.56 kB / 0.7926 GB, free: 3.789 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 9.92e-07/0.2564, allocations: 4 kB / 0.7926 GB, free: 3.785 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0006387/0.257, allocations: 296 kB / 0.7929 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.74e-05/0.2571, allocations: 81.05 kB / 0.793 GB, free: 3.395 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.2574, allocations: 345.6 kB / 0.7933 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2575, allocations: 33.64 kB / 0.7934 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.2576, allocations: 204 kB / 0.7935 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.327e-05/0.2577, allocations: 47.27 kB / 0.7936 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.204e-05/0.2577, allocations: 41.7 kB / 0.7936 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.2579, allocations: 342.8 kB / 0.794 GB, free: 2.371 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.2581, allocations: 88.83 kB / 0.794 GB, free: 2.281 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001858/0.2583, allocations: 119.3 kB / 0.7942 GB, free: 2.152 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.2586, allocations: 190.4 kB / 0.7943 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2586, allocations: 0 / 0.7943 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004277/0.2591, allocations: 259.6 kB / 0.7946 GB, free: 1.699 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2591, allocations: 8 kB / 0.7946 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2591, allocations: 4 kB / 0.7946 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2591, allocations: 0 / 0.7946 GB, free: 1.688 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000174/0.2593, allocations: 31.98 kB / 0.7946 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.2593, allocations: 3.938 kB / 0.7946 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.2594, allocations: 27.73 kB / 0.7947 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.2595, allocations: 4 kB / 0.7947 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002261/0.2597, allocations: 204.2 kB / 0.7949 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000139/0.2599, allocations: 107.3 kB / 0.795 GB, free: 1.301 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002555/0.2601, allocations: 161.5 kB / 0.7951 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.72e-07/0.2601, allocations: 0 / 0.7951 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization_lambda0): time 0.0003403/0.2605, allocations: 233.2 kB / 0.7953 GB, free: 0.9023 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.302e-06/0.2605, allocations: 4 kB / 0.7953 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.2605, allocations: 4 kB / 0.7953 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-06/0.2605, allocations: 0 / 0.7953 GB, free: 0.8945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/0.2606, allocations: 23.94 kB / 0.7954 GB, free: 0.8711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.2606, allocations: 4 kB / 0.7954 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.2607, allocations: 19.86 kB / 0.7954 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2608, allocations: 4 kB / 0.7954 GB, free: 0.8438 MB / 0.6075 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.oveWriAct_activate,expMod.oveWriSet_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.2609, allocations: 192.3 kB / 0.7956 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.136e-05/0.2609, allocations: 31.62 kB / 0.7956 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.038e-05/0.261, allocations: 35.28 kB / 0.7956 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.261, allocations: 7.984 kB / 0.7956 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.261, allocations: 3.938 kB / 0.7956 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.261, allocations: 3.984 kB / 0.7957 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003767/0.2614, allocations: 405.3 kB / 0.796 GB, free: 120 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2614, allocations: 3.938 kB / 0.796 GB, free: 116 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/0.2616, allocations: 27.98 kB / 0.7961 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.2616, allocations: 0 / 0.7961 GB, free: 88 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.2616, allocations: 8 kB / 0.7961 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.2616, allocations: 3.938 kB / 0.7961 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2616, allocations: 3.938 kB / 0.7961 GB, free: 72 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006362/0.2623, allocations: 435 kB / 0.7965 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000117/0.2624, allocations: 132.7 kB / 0.7966 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.2624, allocations: 8.062 kB / 0.7966 GB, free: 15.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.2626, allocations: 15.98 kB / 0.7966 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.2626, allocations: 11.92 kB / 0.7967 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.126e-05/0.2626, allocations: 4 kB / 0.7967 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002177/0.2629, allocations: 239.2 kB / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2629, allocations: 0 / 0.7969 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003673/0.2632, allocations: 91.59 kB / 0.797 GB, free: 15.12 MB / 0.6231 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 (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.0009304/0.2642, allocations: 0.9769 MB / 0.7979 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005491/0.2647, allocations: 280 kB / 0.7982 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2648, allocations: 0 / 0.7982 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001735/0.2649, allocations: 103.8 kB / 0.7983 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005322/0.2655, allocations: 91.89 kB / 0.7984 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003617/0.2691, allocations: 2.939 MB / 0.8013 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.2694, allocations: 0.783 MB / 0.802 GB, free: 9.832 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.2696, allocations: 22.28 kB / 0.802 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.2697, allocations: 103.4 kB / 0.8021 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.2697, allocations: 0 / 0.8021 GB, free: 9.707 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0249/0.2947, allocations: 6.618 MB / 0.8086 GB, free: 3.211 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.285/7.58, allocations: 21.47 kB / 0.8086 GB, free: 3.199 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1)