Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001054/0.001054, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001086/0.001086, allocations: 208.1 kB / 22.25 MB, free: 3.59 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.9526/0.9526, allocations: 230.6 MB / 256 MB, free: 9.605 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.7834/0.7834, allocations: 203.8 MB / 0.5042 GB, free: 10.4 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.IntegerExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.0008684/0.0008684, allocations: 61.25 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.514/0.5148, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001549/0.5164, allocations: 0.8471 MB / 0.8186 GB, free: 0.5078 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.5177, allocations: 1.322 MB / 0.8199 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.296e-05/0.5178, allocations: 2.25 kB / 0.8199 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001142/0.5179, allocations: 16.53 kB / 0.8199 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.807e-05/0.518, allocations: 36.69 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.5186, allocations: 258.7 kB / 0.8202 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003207/0.5189, allocations: 333.4 kB / 0.8205 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.519, allocations: 41.44 kB / 0.8206 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.5192, allocations: 133.1 kB / 0.8207 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001561/0.5193, allocations: 98.23 kB / 0.8208 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.5194, allocations: 27.22 kB / 0.8208 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.5195, allocations: 49.33 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.261e-05/0.5196, allocations: 46.62 kB / 0.8209 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/0.5197, allocations: 105.6 kB / 0.821 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.52, allocations: 351.4 kB / 0.8213 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.52, allocations: 0 / 0.8213 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.024e-06/0.52, allocations: 0 / 0.8213 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.275e-06/0.52, allocations: 2.062 kB / 0.8213 GB, free: 14.89 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005584/0.5206, allocations: 489 kB / 0.8218 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.5206, allocations: 12.41 kB / 0.8218 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.5207, allocations: 44.8 kB / 0.8219 GB, free: 14.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.5209, allocations: 60.08 kB / 0.8219 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003958/0.5213, allocations: 233.3 kB / 0.8221 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/0.5213, allocations: 13.86 kB / 0.8221 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.5214, allocations: 19.86 kB / 0.8222 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.5215, allocations: 153.4 kB / 0.8223 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.5215, allocations: 3.984 kB / 0.8223 GB, free: 14.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.5215, allocations: 7.453 kB / 0.8223 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.5216, allocations: 2.906 kB / 0.8223 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.961e-05/0.5216, allocations: 66.77 kB / 0.8224 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000561/0.5222, allocations: 0.6755 MB / 0.8231 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.732e-05/0.5223, allocations: 61.44 kB / 0.8231 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.79e-05/0.5223, allocations: 21.5 kB / 0.8231 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.082e-05/0.5223, allocations: 2.031 kB / 0.8231 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.5225, allocations: 98.52 kB / 0.8232 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.593e-06/0.5225, allocations: 1.125 kB / 0.8232 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0002433/0.5228, allocations: 133.9 kB / 0.8234 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.5228, allocations: 79.25 kB / 0.8234 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.523, allocations: 219.9 kB / 0.8236 GB, free: 13.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.663e-05/0.523, allocations: 42.3 kB / 0.8237 GB, free: 12.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.329e-05/0.5231, allocations: 142.8 kB / 0.8238 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.5231, allocations: 13.64 kB / 0.8238 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.175e-05/0.5232, allocations: 65.11 kB / 0.8239 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.914e-05/0.5233, allocations: 329.5 kB / 0.8242 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000136/0.5234, allocations: 131.7 kB / 0.8243 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000163/0.5236, allocations: 241 kB / 0.8246 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.5238, allocations: 203.6 kB / 0.8248 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5238, allocations: 0 / 0.8248 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000384/0.5241, allocations: 366 kB / 0.8251 GB, free: 11.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.735e-05/0.5242, allocations: 63 kB / 0.8252 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.5242, allocations: 1.625 kB / 0.8252 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5242, allocations: 2.906 kB / 0.8252 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.841e-05/0.5243, allocations: 14.14 kB / 0.8252 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.5243, allocations: 2.859 kB / 0.8252 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002066/0.5245, allocations: 62.94 kB / 0.8252 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.5245, allocations: 12.7 kB / 0.8253 GB, free: 11.67 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001223/0.5246, allocations: 150.8 kB / 0.8254 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.778e-05/0.5246, allocations: 19.7 kB / 0.8254 GB, free: 11.53 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.98e-05/0.5247, allocations: 20.53 kB / 0.8254 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5247, allocations: 1.156 kB / 0.8254 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.5247, allocations: 1.094 kB / 0.8254 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5247, allocations: 1.625 kB / 0.8254 GB, free: 11.51 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.5249, allocations: 199.5 kB / 0.8256 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.5249, allocations: 0 / 0.8256 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.5249, allocations: 5.641 kB / 0.8256 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.5249, allocations: 2.172 kB / 0.8256 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.5249, allocations: 2.078 kB / 0.8256 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5249, allocations: 4 kB / 0.8256 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.5249, allocations: 1.312 kB / 0.8256 GB, free: 11.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.525, allocations: 143.9 kB / 0.8258 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.01e-05/0.5251, allocations: 17.16 kB / 0.8258 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.601e-05/0.5251, allocations: 10.84 kB / 0.8258 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.5251, allocations: 5.812 kB / 0.8258 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.5251, allocations: 11.34 kB / 0.8258 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.5252, allocations: 3.891 kB / 0.8258 GB, free: 11.19 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.228e-05/0.5252, allocations: 149 kB / 0.826 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5252, allocations: 0 / 0.826 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002026/0.5254, allocations: 43.97 kB / 0.826 GB, free: 11.08 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.0003658/0.5258, allocations: 0.6841 MB / 0.8267 GB, free: 10.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.5261, allocations: 294.3 kB / 0.827 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5261, allocations: 0 / 0.827 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.741e-05/0.5262, allocations: 28.38 kB / 0.827 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000216/0.5264, allocations: 39.25 kB / 0.827 GB, free: 10.18 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002076/0.5285, allocations: 2.441 MB / 0.8294 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.5286, allocations: 117.2 kB / 0.8295 GB, free: 8.16 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.65e-05/0.5287, allocations: 24.67 kB / 0.8295 GB, free: 8.156 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.126e-05/0.5287, allocations: 52.42 kB / 0.8296 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of SimCode: time 1.322e-06/0.5287, allocations: 0 / 0.8296 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02327/0.552, allocations: 5.071 MB / 0.8345 GB, free: 6.977 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/7.398, allocations: 4.422 kB / 0.8346 GB, free: 6.977 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.2652991223149] Failed to read output from testmodel.py, exit status != 0: 7.479819608852267 7.493216265 6.971066489 Calling exit ...