Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.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.0008717/0.0008717, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001057/0.001057, allocations: 210.6 kB / 22.25 MB, free: 3.578 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.9704/0.9704, allocations: 230.6 MB / 256 MB, free: 9.598 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.7784/0.7784, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.BooleanExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",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.001391/0.001391, allocations: 60.56 kB / 0.7182 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5239/0.5253, allocations: 102 MB / 0.8178 GB, free: 1.016 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001482/0.5268, allocations: 0.6956 MB / 0.8185 GB, free: 0.5859 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.5282, allocations: 1.261 MB / 0.8197 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.5282, allocations: 10.72 kB / 0.8197 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.5283, allocations: 14.55 kB / 0.8197 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.198e-05/0.5284, allocations: 21.42 kB / 0.8197 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.529, allocations: 242.8 kB / 0.82 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.5292, allocations: 244.9 kB / 0.8202 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001275/0.5293, allocations: 25.75 kB / 0.8202 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.5295, allocations: 103.1 kB / 0.8203 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001348/0.5296, allocations: 78.53 kB / 0.8204 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.5296, allocations: 19.72 kB / 0.8204 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.558e-05/0.5297, allocations: 39.36 kB / 0.8205 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.736e-05/0.5298, allocations: 40.31 kB / 0.8205 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001144/0.5299, allocations: 76.78 kB / 0.8206 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000275/0.5302, allocations: 237.9 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.5302, allocations: 0.5625 kB / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5302, allocations: 0 / 0.8208 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.5302, allocations: 0 / 0.8208 GB, free: 15.2 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.000484/0.5307, allocations: 436.4 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.5307, allocations: 11.97 kB / 0.8212 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.5307, allocations: 38.53 kB / 0.8213 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002849/0.531, allocations: 57.05 kB / 0.8213 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.5314, allocations: 198.2 kB / 0.8215 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.5314, allocations: 11.56 kB / 0.8215 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.659e-05/0.5314, allocations: 23.53 kB / 0.8215 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.5316, allocations: 128.5 kB / 0.8217 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5316, allocations: 0 / 0.8217 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.5316, allocations: 6.391 kB / 0.8217 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.5316, allocations: 3.094 kB / 0.8217 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.509e-05/0.5317, allocations: 48.2 kB / 0.8217 GB, free: 14.47 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.5323, allocations: 0.6107 MB / 0.8223 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.393e-05/0.5323, allocations: 42.53 kB / 0.8224 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.697e-05/0.5323, allocations: 12.25 kB / 0.8224 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.915e-06/0.5323, allocations: 5.281 kB / 0.8224 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.5325, allocations: 97.28 kB / 0.8225 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.5325, allocations: 0 / 0.8225 GB, free: 13.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0001981/0.5327, allocations: 102.5 kB / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.5328, allocations: 83.11 kB / 0.8226 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.5329, allocations: 172.5 kB / 0.8228 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.5329, allocations: 32.23 kB / 0.8228 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.892e-05/0.533, allocations: 122.5 kB / 0.823 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 9.879e-06/0.533, allocations: 11.44 kB / 0.823 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-05/0.533, allocations: 60.33 kB / 0.823 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.608e-05/0.5331, allocations: 321.5 kB / 0.8233 GB, free: 13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.5332, allocations: 113.8 kB / 0.8234 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.5334, allocations: 233.7 kB / 0.8237 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.5335, allocations: 174.9 kB / 0.8238 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.5335, allocations: 5 kB / 0.8238 GB, free: 12.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004656/0.534, allocations: 331.5 kB / 0.8242 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/0.5341, allocations: 68.25 kB / 0.8242 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.5341, allocations: 2.312 kB / 0.8242 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.5341, allocations: 6.922 kB / 0.8242 GB, free: 12.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.811e-05/0.5341, allocations: 8.625 kB / 0.8242 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.5341, allocations: 6.438 kB / 0.8242 GB, free: 12.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001929/0.5343, allocations: 60.7 kB / 0.8243 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.239e-05/0.5343, allocations: 17.17 kB / 0.8243 GB, free: 12.2 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: 10 (booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition4,booPul1.y,$PRE.booPul1.y,$whenCondition1,$whenCondition2,con.y,con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * 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 9.151e-05/0.5344, allocations: 135.2 kB / 0.8244 GB, free: 12.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.22e-05/0.5344, allocations: 21.11 kB / 0.8245 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.16e-05/0.5345, allocations: 12.98 kB / 0.8245 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5345, allocations: 1.344 kB / 0.8245 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.5345, allocations: 1.312 kB / 0.8245 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5345, allocations: 5.719 kB / 0.8245 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.5346, allocations: 175.2 kB / 0.8247 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5346, allocations: 1.281 kB / 0.8247 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-06/0.5346, allocations: 2.281 kB / 0.8247 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5346, allocations: 1.188 kB / 0.8247 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.5346, allocations: 1.703 kB / 0.8247 GB, free: 11.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.756e-06/0.5346, allocations: 5.484 kB / 0.8247 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.5346, allocations: 1 kB / 0.8247 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001134/0.5347, allocations: 121.3 kB / 0.8248 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.103e-05/0.5347, allocations: 7.453 kB / 0.8248 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.5347, allocations: 3.031 kB / 0.8248 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.564e-05/0.5348, allocations: 1.656 kB / 0.8248 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.5348, allocations: 8.625 kB / 0.8248 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.5348, allocations: 7.797 kB / 0.8248 GB, free: 11.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.415e-05/0.5349, allocations: 115.4 kB / 0.8249 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5349, allocations: 0 / 0.8249 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001878/0.535, allocations: 42.25 kB / 0.825 GB, free: 11.67 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: 6 ($whenCondition3,$whenCondition4,booPul.y,$whenCondition1,$whenCondition2,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0003136/0.5354, allocations: 0.6526 MB / 0.8256 GB, free: 11.05 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002705/0.5356, allocations: 274.4 kB / 0.8259 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.5356, allocations: 0 / 0.8259 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.092e-05/0.5357, allocations: 18.52 kB / 0.8259 GB, free: 10.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.5359, allocations: 22.11 kB / 0.8259 GB, free: 10.81 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.5375, allocations: 2.18 MB / 0.828 GB, free: 8.977 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.71e-05/0.5376, allocations: 98.19 kB / 0.8281 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.967e-05/0.5377, allocations: 11.27 kB / 0.8281 GB, free: 8.898 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.885e-05/0.5377, allocations: 42.14 kB / 0.8282 GB, free: 8.867 MB / 0.6198 GB Notification: Performance of SimCode: time 6.02e-07/0.5377, allocations: 4 kB / 0.8282 GB, free: 8.863 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.5568, allocations: 4.246 MB / 0.8323 GB, free: 7.785 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.736/7.293, allocations: 3.531 kB / 0.8323 GB, free: 7.785 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.316421108786017] Failed to read output from testmodel.py, exit status != 0: 7.374468733090907 7.3920521 6.858723958 Calling exit ...