Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009967/0.0009967, allocations: 221.8 kB / 22.26 MB, free: 3.707 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9788/0.9788, allocations: 230.6 MB / 256 MB, free: 9.805 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8038/0.8038, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009085/0.0009085, allocations: 64.41 kB / 0.7182 GB, free: 4.316 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.524/0.5249, allocations: 102 MB / 0.8179 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal): time 0.0017/0.5266, allocations: 1.005 MB / 0.8188 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.528, allocations: 1.376 MB / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.496e-05/0.5281, allocations: 2.281 kB / 0.8202 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.5282, allocations: 19.97 kB / 0.8202 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.431e-05/0.5283, allocations: 51.31 kB / 0.8203 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00061/0.5289, allocations: 279.1 kB / 0.8205 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003547/0.5292, allocations: 387.9 kB / 0.8209 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.5294, allocations: 51.78 kB / 0.8209 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001687/0.5296, allocations: 156 kB / 0.8211 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001788/0.5297, allocations: 132.8 kB / 0.8212 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.5298, allocations: 33.66 kB / 0.8212 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.5299, allocations: 56.52 kB / 0.8213 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.53, allocations: 66.09 kB / 0.8214 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001223/0.5301, allocations: 132.7 kB / 0.8215 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003705/0.5305, allocations: 408.1 kB / 0.8219 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5305, allocations: 4.812 kB / 0.8219 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5305, allocations: 0 / 0.8219 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.744e-06/0.5305, allocations: 4 kB / 0.8219 GB, free: 14.75 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0007099/0.5312, allocations: 0.5417 MB / 0.8224 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.5312, allocations: 9 kB / 0.8224 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.793e-05/0.5313, allocations: 50.77 kB / 0.8225 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002516/0.5315, allocations: 67.88 kB / 0.8225 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005547/0.5321, allocations: 302.2 kB / 0.8228 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.22e-05/0.5321, allocations: 15.81 kB / 0.8228 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.068e-05/0.5321, allocations: 24.86 kB / 0.8229 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002823/0.5324, allocations: 207.5 kB / 0.8231 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.5324, allocations: 1.062 kB / 0.8231 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.5324, allocations: 6.875 kB / 0.8231 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.5324, allocations: 3.469 kB / 0.8231 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002622/0.5327, allocations: 143.2 kB / 0.8232 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.5338, allocations: 0.8717 MB / 0.8241 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001999/0.534, allocations: 158.5 kB / 0.8242 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.5341, allocations: 78.12 kB / 0.8243 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.5342, allocations: 5.469 kB / 0.8243 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002745/0.5344, allocations: 170.2 kB / 0.8245 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=11): time 1.463e-06/0.5344, allocations: 2.312 kB / 0.8245 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.0005339/0.535, allocations: 260.2 kB / 0.8247 GB, free: 12.78 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.771e-05/0.535, allocations: 157.9 kB / 0.8249 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.5352, allocations: 223.1 kB / 0.8251 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.5352, allocations: 29.48 kB / 0.8251 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/0.5353, allocations: 157.6 kB / 0.8252 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.5354, allocations: 34.83 kB / 0.8253 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.032e-05/0.5354, allocations: 55.23 kB / 0.8253 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/0.5355, allocations: 338.9 kB / 0.8257 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.5357, allocations: 94.38 kB / 0.8257 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/0.536, allocations: 176.8 kB / 0.8259 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.5363, allocations: 278.5 kB / 0.8262 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5363, allocations: 0 / 0.8262 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0005351/0.5368, allocations: 373.9 kB / 0.8265 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.6e-05/0.5369, allocations: 67.59 kB / 0.8266 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.5369, allocations: 2.953 kB / 0.8266 GB, free: 11.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.5369, allocations: 6.578 kB / 0.8266 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.959e-05/0.537, allocations: 25.38 kB / 0.8266 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.537, allocations: 6.859 kB / 0.8266 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.5372, allocations: 75.22 kB / 0.8267 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.5373, allocations: 14.52 kB / 0.8267 GB, free: 11.32 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,pul.booPul.y,$PRE.pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y,$PRE.pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 2 * 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.0001176/0.5374, allocations: 155.4 kB / 0.8269 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.5374, allocations: 21.53 kB / 0.8269 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.086e-05/0.5374, allocations: 22.92 kB / 0.8269 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5374, allocations: 3.406 kB / 0.8269 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.5375, allocations: 2.625 kB / 0.8269 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.5375, allocations: 6.125 kB / 0.8269 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.5377, allocations: 227.1 kB / 0.8271 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.5377, allocations: 2.234 kB / 0.8271 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.93e-05/0.5377, allocations: 30.23 kB / 0.8272 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.5377, allocations: 0.5625 kB / 0.8272 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/0.5378, allocations: 2.688 kB / 0.8272 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5378, allocations: 2.219 kB / 0.8272 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.5378, allocations: 2.031 kB / 0.8272 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000325/0.5381, allocations: 249.5 kB / 0.8274 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.995e-05/0.5381, allocations: 14.91 kB / 0.8274 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.5381, allocations: 3.875 kB / 0.8274 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.664e-05/0.5382, allocations: 21.73 kB / 0.8275 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.673e-05/0.5382, allocations: 18.73 kB / 0.8275 GB, free: 10.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.5383, allocations: 12.98 kB / 0.8275 GB, free: 10.77 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001106/0.5384, allocations: 158.3 kB / 0.8276 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5384, allocations: 0 / 0.8276 GB, free: 10.67 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001993/0.5386, allocations: 57.27 kB / 0.8277 GB, free: 10.65 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition4,pul.booPul.y,$whenCondition1,$whenCondition2,pul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * 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.0005785/0.5391, allocations: 0.7817 MB / 0.8285 GB, free: 9.977 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004724/0.5396, allocations: 314.7 kB / 0.8288 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5396, allocations: 1.312 kB / 0.8288 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000159/0.5398, allocations: 70 kB / 0.8288 GB, free: 9.785 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.54, allocations: 59.09 kB / 0.8289 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002695/0.5427, allocations: 2.554 MB / 0.8314 GB, free: 7.973 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003027/0.543, allocations: 0.7441 MB / 0.8321 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001072/0.5431, allocations: 41.8 kB / 0.8321 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.5432, allocations: 64.72 kB / 0.8322 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of SimCode: time 7.31e-07/0.5432, allocations: 0 / 0.8322 GB, free: 7.215 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02196/0.5652, allocations: 5.39 MB / 0.8375 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.649/7.214, allocations: 5.031 kB / 0.8375 GB, free: 5.832 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.213463656138629] Failed to read output from testmodel.py, exit status != 0: 7.2989661989267915 7.309275962 6.776773894 Calling exit ...