Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.000731/0.000731, 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.000848/0.000848, allocations: 222.3 kB / 22.26 MB, free: 3.695 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.9575/0.9575, allocations: 230.6 MB / 256 MB, free: 9.758 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.03702/0.03702, allocations: 12.17 MB / 324.6 MB, free: 6.266 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005828/0.0005828, allocations: 39.88 kB / 384.1 MB, free: 10.66 MB / 314.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 1.752/1.752, allocations: 353.8 MB / 0.7787 GB, free: 3.094 MB / 0.5105 GB " [Timeout remaining time 178] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/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(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AixLib requested package Modelica_DeviceDrivers of version 2.1.1. Modelica_DeviceDrivers 2.2.0 is used instead which states that it is fully compatible without conversion script needed. Notification: AixLib 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.0015/0.0015, allocations: 122.6 kB / 1.06 GB, free: 24.95 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2234, allocations: 134.9 MB / 1.192 GB, free: 7.84 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.0015/0.2249, allocations: 0.6944 MB / 1.192 GB, free: 7.148 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001183/0.2261, allocations: 1.304 MB / 1.194 GB, free: 5.832 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.436e-05/0.2262, allocations: 4 kB / 1.194 GB, free: 5.828 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.2263, allocations: 11.86 kB / 1.194 GB, free: 5.816 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 3.858e-05/0.2263, allocations: 19.8 kB / 1.194 GB, free: 5.797 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.2268, allocations: 236.3 kB / 1.194 GB, free: 5.57 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.2271, allocations: 251.5 kB / 1.194 GB, free: 5.324 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.2272, allocations: 35.91 kB / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.2273, allocations: 99.81 kB / 1.194 GB, free: 5.191 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.2274, allocations: 87.77 kB / 1.194 GB, free: 5.105 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.2274, allocations: 20 kB / 1.194 GB, free: 5.086 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.442e-05/0.2275, allocations: 43.97 kB / 1.194 GB, free: 5.043 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.477e-05/0.2276, allocations: 35.91 kB / 1.195 GB, free: 5.008 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.967e-05/0.2277, allocations: 87.64 kB / 1.195 GB, free: 4.922 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.2279, allocations: 239.1 kB / 1.195 GB, free: 4.688 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.2279, allocations: 0 / 1.195 GB, free: 4.688 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2279, allocations: 0 / 1.195 GB, free: 4.688 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.992e-06/0.2279, allocations: 4 kB / 1.195 GB, free: 4.684 MB / 0.823 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.0004576/0.2283, allocations: 433.1 kB / 1.195 GB, free: 4.215 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.2284, allocations: 12.03 kB / 1.195 GB, free: 4.203 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.759e-05/0.2284, allocations: 38.75 kB / 1.195 GB, free: 4.156 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002529/0.2287, allocations: 48.84 kB / 1.195 GB, free: 4.109 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.229, allocations: 207.1 kB / 1.196 GB, free: 3.883 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.229, allocations: 16.38 kB / 1.196 GB, free: 3.867 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.2291, allocations: 12.38 kB / 1.196 GB, free: 3.855 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.2292, allocations: 142.5 kB / 1.196 GB, free: 3.699 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2292, allocations: 0 / 1.196 GB, free: 3.699 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.918e-06/0.2292, allocations: 7.938 kB / 1.196 GB, free: 3.691 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.2292, allocations: 4 kB / 1.196 GB, free: 3.688 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.868e-05/0.2293, allocations: 51.91 kB / 1.196 GB, free: 3.637 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004584/0.2298, allocations: 0.6329 MB / 1.196 GB, free: 2.949 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.352e-05/0.2298, allocations: 37.09 kB / 1.196 GB, free: 2.895 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.2298, allocations: 21.84 kB / 1.196 GB, free: 2.867 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.2298, allocations: 3.938 kB / 1.196 GB, free: 2.863 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.23, allocations: 89.08 kB / 1.197 GB, free: 2.758 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 1.202e-06/0.23, allocations: 3.938 kB / 1.197 GB, free: 2.754 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.0001871/0.2302, allocations: 97.62 kB / 1.197 GB, free: 2.652 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.2302, allocations: 85.05 kB / 1.197 GB, free: 2.551 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003089/0.2305, allocations: 173.5 kB / 1.197 GB, free: 2.375 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.2305, allocations: 29.7 kB / 1.197 GB, free: 2.34 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.395e-05/0.2306, allocations: 127.7 kB / 1.197 GB, free: 2.211 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.2306, allocations: 15.84 kB / 1.197 GB, free: 2.195 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.149e-05/0.2307, allocations: 61.67 kB / 1.197 GB, free: 2.129 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.328e-05/0.2308, allocations: 322.8 kB / 1.197 GB, free: 1.805 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.161e-05/0.2308, allocations: 55.97 kB / 1.197 GB, free: 1.75 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.617e-05/0.2309, allocations: 114.5 kB / 1.198 GB, free: 1.609 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.2311, allocations: 182.2 kB / 1.198 GB, free: 1.395 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2311, allocations: 0 / 1.198 GB, free: 1.395 MB / 0.823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002642/0.2313, allocations: 273.3 kB / 1.198 GB, free: 1.109 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.877e-05/0.2314, allocations: 67.45 kB / 1.198 GB, free: 1.031 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.2314, allocations: 4 kB / 1.198 GB, free: 1.027 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.2314, allocations: 0 / 1.198 GB, free: 1.027 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.624e-05/0.2314, allocations: 11.98 kB / 1.198 GB, free: 1.016 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2314, allocations: 7.984 kB / 1.198 GB, free: 1.008 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.2316, allocations: 51.89 kB / 1.198 GB, free: 0.957 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.034e-05/0.2316, allocations: 15.98 kB / 1.198 GB, free: 0.9414 MB / 0.823 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 8.501e-05/0.2317, allocations: 141.8 kB / 1.198 GB, free: 0.793 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.2317, allocations: 15.89 kB / 1.198 GB, free: 0.7773 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.2317, allocations: 12.33 kB / 1.198 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.2317, allocations: 0 / 1.198 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.2317, allocations: 0 / 1.198 GB, free: 0.7578 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2317, allocations: 4 kB / 1.198 GB, free: 0.7539 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001015/0.2318, allocations: 180.6 kB / 1.198 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2318, allocations: 3.938 kB / 1.198 GB, free: 0.5312 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-06/0.2318, allocations: 8 kB / 1.198 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-06/0.2319, allocations: 0 / 1.198 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.2319, allocations: 0 / 1.198 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2319, allocations: 0 / 1.198 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.2319, allocations: 4 kB / 1.199 GB, free: 0.5195 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001009/0.232, allocations: 121.8 kB / 1.199 GB, free: 388 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.232, allocations: 11.89 kB / 1.199 GB, free: 376 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.12e-05/0.232, allocations: 4 kB / 1.199 GB, free: 372 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.496e-05/0.232, allocations: 7.984 kB / 1.199 GB, free: 364 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.877e-05/0.232, allocations: 0 / 1.199 GB, free: 364 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.232, allocations: 4 kB / 1.199 GB, free: 360 kB / 0.823 GB Notification: Performance of sorting global known variables: time 5.691e-05/0.2321, allocations: 125.4 kB / 1.199 GB, free: 236 kB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2321, allocations: 4 kB / 1.199 GB, free: 232 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001635/0.2323, allocations: 35.95 kB / 1.199 GB, free: 196 kB / 0.823 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.0003115/0.2326, allocations: 0.6561 MB / 1.199 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002235/0.2328, allocations: 202.7 kB / 1.2 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2328, allocations: 0 / 1.2 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 2.744e-05/0.2328, allocations: 23.92 kB / 1.2 GB, free: 15.26 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.233, allocations: 32.45 kB / 1.2 GB, free: 15.23 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.2344, allocations: 1.928 MB / 1.202 GB, free: 13.15 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002009/0.2346, allocations: 0.7197 MB / 1.202 GB, free: 12.4 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.401e-05/0.2347, allocations: 8.969 kB / 1.202 GB, free: 12.39 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.2347, allocations: 35.44 kB / 1.202 GB, free: 12.36 MB / 0.8387 GB Notification: Performance of SimCode: time 5.71e-07/0.2347, allocations: 0 / 1.202 GB, free: 12.36 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.2526, allocations: 3.631 MB / 1.206 GB, free: 8.895 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.535/6.788, allocations: 19.91 kB / 1.206 GB, free: 8.879 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.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 AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanExtractSignal.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.453470055013895] Failed to read output from testmodel.py, exit status != 0: 6.865205014124513 6.88297568 6.652022324 Calling exit ...