Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker",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.001159/0.001159, allocations: 103.9 kB / 16.4 MB, free: 6.492 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.00126/0.00126, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.203/1.203, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6621/0.6621, allocations: 115.3 MB / 406.5 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001088, allocations: 64.88 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1173, allocations: 76.18 MB / 0.6315 GB, free: 4.953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002662/0.12, allocations: 1.54 MB / 0.6331 GB, free: 3.398 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009645/0.121, allocations: 0.5765 MB / 0.6336 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.955e-05/0.121, allocations: 4 kB / 0.6336 GB, free: 2.812 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 9.561e-05/0.1211, allocations: 15.8 kB / 0.6336 GB, free: 2.797 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.574e-05/0.1212, allocations: 11.81 kB / 0.6336 GB, free: 2.785 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.1216, allocations: 95.75 kB / 0.6337 GB, free: 2.691 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.1218, allocations: 103.7 kB / 0.6338 GB, free: 2.59 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.1219, allocations: 16.23 kB / 0.6338 GB, free: 2.57 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.122, allocations: 43.83 kB / 0.6339 GB, free: 2.527 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.641e-05/0.1221, allocations: 47.83 kB / 0.6339 GB, free: 2.48 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.1222, allocations: 8 kB / 0.6339 GB, free: 2.473 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.1223, allocations: 87.84 kB / 0.634 GB, free: 2.387 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 4.536e-05/0.1224, allocations: 19.92 kB / 0.634 GB, free: 2.367 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 5.807e-05/0.1224, allocations: 47.72 kB / 0.6341 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002222/0.1227, allocations: 138.4 kB / 0.6342 GB, free: 2.188 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1227, allocations: 0 / 0.6342 GB, free: 2.188 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1227, allocations: 0 / 0.6342 GB, free: 2.188 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1227, allocations: 0 / 0.6342 GB, free: 2.188 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007481/0.1234, allocations: 457.5 kB / 0.6347 GB, free: 1.688 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.1235, allocations: 12.03 kB / 0.6347 GB, free: 1.676 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.1235, allocations: 38.73 kB / 0.6347 GB, free: 1.629 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.1236, allocations: 8.844 kB / 0.6347 GB, free: 1.621 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.1237, allocations: 184.2 kB / 0.6349 GB, free: 1.402 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.1238, allocations: 8.359 kB / 0.6349 GB, free: 1.395 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.1238, allocations: 4.375 kB / 0.6349 GB, free: 1.391 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002884/0.1241, allocations: 105.7 kB / 0.635 GB, free: 1.281 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.1241, allocations: 4 kB / 0.635 GB, free: 1.277 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.1241, allocations: 4 kB / 0.635 GB, free: 1.273 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.1241, allocations: 7.984 kB / 0.635 GB, free: 1.266 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002934/0.1244, allocations: 83.92 kB / 0.6351 GB, free: 1.184 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000594/0.125, allocations: 356.6 kB / 0.6354 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.1253, allocations: 86.52 kB / 0.6355 GB, free: 0.6914 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.1255, allocations: 60.98 kB / 0.6356 GB, free: 0.6289 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.1255, allocations: 3.938 kB / 0.6356 GB, free: 0.625 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002664/0.1258, allocations: 115.3 kB / 0.6357 GB, free: 0.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.1258, allocations: 3.938 kB / 0.6357 GB, free: 0.4961 MB / 478.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005895/0.1264, allocations: 205.4 kB / 0.6359 GB, free: 296 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.1265, allocations: 55.41 kB / 0.6359 GB, free: 228 kB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.1266, allocations: 143.8 kB / 0.6361 GB, free: 76 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.1266, allocations: 25.78 kB / 0.6361 GB, free: 44 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.1267, allocations: 108 kB / 0.6362 GB, free: 15.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.1267, allocations: 23.62 kB / 0.6362 GB, free: 15.91 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.215e-05/0.1268, allocations: 29.64 kB / 0.6363 GB, free: 15.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.565e-05/0.1269, allocations: 326.8 kB / 0.6366 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.1271, allocations: 59.95 kB / 0.6366 GB, free: 15.49 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.1272, allocations: 55.95 kB / 0.6367 GB, free: 15.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.1276, allocations: 142.5 kB / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.1276, allocations: 0 / 0.6368 GB, free: 15.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004189/0.128, allocations: 203.1 kB / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.128, allocations: 37.64 kB / 0.6371 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.128, allocations: 0 / 0.6371 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1281, allocations: 4 kB / 0.6371 GB, free: 15.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.1282, allocations: 19.97 kB / 0.6371 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1282, allocations: 0 / 0.6371 GB, free: 15.01 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001298/0.1284, allocations: 15.92 kB / 0.6371 GB, free: 14.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.67e-05/0.1284, allocations: 11.94 kB / 0.6371 GB, free: 14.98 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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 8.602e-05/0.1285, allocations: 121.5 kB / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.129e-05/0.1285, allocations: 15.81 kB / 0.6372 GB, free: 14.84 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.112e-05/0.1285, allocations: 12.72 kB / 0.6372 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.534e-05/0.1286, allocations: 11.97 kB / 0.6373 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1286, allocations: 0 / 0.6373 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1286, allocations: 0 / 0.6373 GB, free: 14.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001523/0.1287, allocations: 197.5 kB / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1287, allocations: 0 / 0.6374 GB, free: 14.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1289, allocations: 28.38 kB / 0.6375 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1289, allocations: 0 / 0.6375 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1289, allocations: 4 kB / 0.6375 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1289, allocations: 0 / 0.6375 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1289, allocations: 0 / 0.6375 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.1293, allocations: 192.8 kB / 0.6377 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.091e-05/0.1294, allocations: 88.89 kB / 0.6377 GB, free: 14.23 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1294, allocations: 7.984 kB / 0.6378 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/0.1295, allocations: 11.98 kB / 0.6378 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.061e-05/0.1296, allocations: 11.98 kB / 0.6378 GB, free: 14.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.1296, allocations: 4 kB / 0.6378 GB, free: 14.19 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.189e-05/0.1297, allocations: 116 kB / 0.6379 GB, free: 14.08 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1297, allocations: 0 / 0.6379 GB, free: 14.08 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.1299, allocations: 44 kB / 0.6379 GB, free: 14.04 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006966/0.1306, allocations: 0.7332 MB / 0.6386 GB, free: 13.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004181/0.1311, allocations: 183.3 kB / 0.6388 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.1311, allocations: 0 / 0.6388 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.1313, allocations: 63.89 kB / 0.6389 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.1315, allocations: 15.98 kB / 0.6389 GB, free: 13 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.1336, allocations: 1.703 MB / 0.6406 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.1339, allocations: 0.7041 MB / 0.6412 GB, free: 10.48 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 6.416e-05/0.134, allocations: 15.92 kB / 0.6413 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.179e-05/0.134, allocations: 31.42 kB / 0.6413 GB, free: 10.44 MB / 494.1 MB Notification: Performance of SimCode: time 2.81e-07/0.134, allocations: 0 / 0.6413 GB, free: 10.44 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.1525, allocations: 2.792 MB / 0.644 GB, free: 7.73 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.823/6.976, allocations: 11.98 kB / 0.644 GB, free: 7.719 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_Continuous_Examples_SignalRanker.fmu > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)