Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_dev_IDEAS_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.01144/0.01144, allocations: 99.64 kB / 15.73 MB, free: 6.027 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.001713/0.001713, allocations: 186.2 kB / 16.67 MB, free: 5.969 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.598/1.598, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.077/1.077, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.91 kB / 0.5851 GB, free: 3.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5062/0.5076, allocations: 80.91 MB / 0.6641 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002505/0.5102, allocations: 1.553 MB / 0.6656 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008865/0.5111, allocations: 0.5778 MB / 0.6662 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.512e-05/0.5112, allocations: 1.094 kB / 0.6662 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.5113, allocations: 11.86 kB / 0.6662 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.844e-05/0.5114, allocations: 14 kB / 0.6662 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003787/0.5118, allocations: 91.7 kB / 0.6663 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.5119, allocations: 95.88 kB / 0.6664 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.512, allocations: 21.97 kB / 0.6664 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.5122, allocations: 44.72 kB / 0.6665 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.462e-05/0.5123, allocations: 49.47 kB / 0.6665 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.474e-05/0.5123, allocations: 6.438 kB / 0.6665 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001433/0.5124, allocations: 92.91 kB / 0.6666 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.5125, allocations: 24.98 kB / 0.6666 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.266e-05/0.5126, allocations: 36.39 kB / 0.6667 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.5128, allocations: 139.8 kB / 0.6668 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.5128, allocations: 3.938 kB / 0.6668 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5128, allocations: 0 / 0.6668 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.5128, allocations: 0 / 0.6668 GB, free: 5.176 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007967/0.5136, allocations: 449.5 kB / 0.6672 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.5137, allocations: 9.406 kB / 0.6672 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.5137, allocations: 36.25 kB / 0.6673 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.427e-05/0.5138, allocations: 14.81 kB / 0.6673 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001741/0.5139, allocations: 192.1 kB / 0.6675 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.514, allocations: 3.031 kB / 0.6675 GB, free: 4.461 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.514, allocations: 8.219 kB / 0.6675 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003167/0.5143, allocations: 111.3 kB / 0.6676 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.5143, allocations: 3.984 kB / 0.6676 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.5143, allocations: 1.312 kB / 0.6676 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.015e-05/0.5144, allocations: 7.469 kB / 0.6676 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003222/0.5147, allocations: 93.84 kB / 0.6677 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005819/0.5153, allocations: 345.1 kB / 0.668 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002984/0.5156, allocations: 101.6 kB / 0.6681 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.5158, allocations: 55.03 kB / 0.6682 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.5158, allocations: 5.125 kB / 0.6682 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003217/0.5161, allocations: 114.3 kB / 0.6683 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=9): time 1.482e-06/0.5161, allocations: 0 / 0.6683 GB, free: 3.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=9): time 0.0006382/0.5168, allocations: 198.9 kB / 0.6685 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.5168, allocations: 60.45 kB / 0.6685 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.5169, allocations: 142.1 kB / 0.6687 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.607e-05/0.517, allocations: 26.61 kB / 0.6687 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.112e-05/0.517, allocations: 100.2 kB / 0.6688 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.517, allocations: 28.09 kB / 0.6688 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.5171, allocations: 29.33 kB / 0.6688 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.5172, allocations: 325.4 kB / 0.6692 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001852/0.5174, allocations: 60.86 kB / 0.6692 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.5175, allocations: 56.58 kB / 0.6693 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003363/0.5179, allocations: 144.2 kB / 0.6694 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5179, allocations: 112 / 0.6694 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004406/0.5183, allocations: 208 kB / 0.6696 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.5184, allocations: 32.48 kB / 0.6696 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.5184, allocations: 0 / 0.6696 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.5184, allocations: 1.469 kB / 0.6696 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.5186, allocations: 19.91 kB / 0.6697 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.5186, allocations: 0 / 0.6697 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.5187, allocations: 17.83 kB / 0.6697 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.5187, allocations: 7.031 kB / 0.6697 GB, free: 2.691 MB / 0.4981 GB 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 7.549e-05/0.5188, allocations: 126.3 kB / 0.6698 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.932e-05/0.5188, allocations: 8.781 kB / 0.6698 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.5189, allocations: 13.94 kB / 0.6698 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-05/0.5189, allocations: 3.438 kB / 0.6698 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.5189, allocations: 1.25 kB / 0.6698 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.5189, allocations: 3.984 kB / 0.6698 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.5191, allocations: 211.9 kB / 0.67 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5191, allocations: 0 / 0.67 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.5192, allocations: 23.44 kB / 0.6701 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5192, allocations: 4 kB / 0.6701 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.5192, allocations: 1.031 kB / 0.6701 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5192, allocations: 1.219 kB / 0.6701 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5192, allocations: 0 / 0.6701 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004154/0.5196, allocations: 181.8 kB / 0.6702 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.927e-05/0.5197, allocations: 83.67 kB / 0.6703 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.5197, allocations: 9.125 kB / 0.6703 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.5198, allocations: 16.5 kB / 0.6703 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.636e-05/0.5199, allocations: 18.2 kB / 0.6704 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.5199, allocations: 1.438 kB / 0.6704 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.591e-05/0.52, allocations: 110.5 kB / 0.6705 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.52, allocations: 1.219 kB / 0.6705 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002615/0.5203, allocations: 39.69 kB / 0.6705 GB, free: 1.945 MB / 0.4981 GB 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.0006404/0.5209, allocations: 0.7304 MB / 0.6712 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004599/0.5214, allocations: 185 kB / 0.6714 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.5214, allocations: 192 / 0.6714 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.5216, allocations: 69.66 kB / 0.6715 GB, free: 1.145 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.5218, allocations: 12.23 kB / 0.6715 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.524, allocations: 1.722 MB / 0.6731 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.5243, allocations: 0.6994 MB / 0.6738 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.906e-05/0.5244, allocations: 22.59 kB / 0.6739 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.88e-05/0.5244, allocations: 31.23 kB / 0.6739 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of SimCode: time 3.1e-07/0.5244, allocations: 1.281 kB / 0.6739 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02088/0.5453, allocations: 2.79 MB / 0.6766 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.019/8.564, allocations: 10.89 kB / 0.6766 GB, free: 13.46 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)