Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.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.0009413/0.0009413, 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.00136/0.00136, allocations: 223.7 kB / 22.26 MB, free: 3.703 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.9136/0.9136, allocations: 230.6 MB / 256 MB, free: 9.801 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.04241/0.04241, allocations: 12.18 MB / 324.6 MB, free: 6.277 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.0005339/0.0005339, allocations: 23.95 kB / 384.1 MB, free: 10.69 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.73/1.73, 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.IntegerExtractSignal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal",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.001896/0.001896, allocations: 129.3 kB / 1.06 GB, free: 25.03 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2361, allocations: 134.9 MB / 1.192 GB, free: 7.863 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.001815/0.2379, allocations: 0.8655 MB / 1.193 GB, free: 7 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001254/0.2392, allocations: 1.343 MB / 1.194 GB, free: 5.645 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.412e-05/0.2392, allocations: 4 kB / 1.194 GB, free: 5.641 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.2394, allocations: 15.8 kB / 1.194 GB, free: 5.625 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-05/0.2394, allocations: 35.72 kB / 1.194 GB, free: 5.59 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005452/0.24, allocations: 263.5 kB / 1.194 GB, free: 5.34 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.2403, allocations: 331.4 kB / 1.195 GB, free: 5.016 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.2404, allocations: 45.58 kB / 1.195 GB, free: 4.965 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.2405, allocations: 131.7 kB / 1.195 GB, free: 4.836 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.2406, allocations: 111.7 kB / 1.195 GB, free: 4.727 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 3.482e-05/0.2407, allocations: 32 kB / 1.195 GB, free: 4.695 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.753e-05/0.2408, allocations: 51.92 kB / 1.195 GB, free: 4.645 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.192e-05/0.2408, allocations: 51.83 kB / 1.195 GB, free: 4.594 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.2409, allocations: 119.5 kB / 1.195 GB, free: 4.477 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.2412, allocations: 342.8 kB / 1.195 GB, free: 4.141 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2412, allocations: 3.938 kB / 1.195 GB, free: 4.137 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.373e-06/0.2412, allocations: 0 / 1.195 GB, free: 4.137 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.2412, allocations: 4 kB / 1.195 GB, free: 4.133 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005237/0.2417, allocations: 488.7 kB / 1.196 GB, free: 3.609 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2418, allocations: 12.03 kB / 1.196 GB, free: 3.598 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.085e-05/0.2418, allocations: 42.73 kB / 1.196 GB, free: 3.547 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002334/0.242, allocations: 64.75 kB / 1.196 GB, free: 3.484 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003833/0.2424, allocations: 238 kB / 1.196 GB, free: 3.227 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.2424, allocations: 12.38 kB / 1.196 GB, free: 3.215 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.613e-05/0.2425, allocations: 20.38 kB / 1.196 GB, free: 3.195 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001705/0.2426, allocations: 159.4 kB / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.2426, allocations: 0 / 1.196 GB, free: 3.023 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.2427, allocations: 8 kB / 1.196 GB, free: 3.016 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.2427, allocations: 0 / 1.196 GB, free: 3.016 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.368e-05/0.2427, allocations: 67.91 kB / 1.196 GB, free: 2.949 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.2433, allocations: 0.7226 MB / 1.197 GB, free: 2.172 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.88e-05/0.2434, allocations: 57.2 kB / 1.197 GB, free: 2.098 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.903e-05/0.2434, allocations: 25.7 kB / 1.197 GB, free: 2.066 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.157e-06/0.2434, allocations: 4 kB / 1.197 GB, free: 2.062 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.2436, allocations: 97.08 kB / 1.197 GB, free: 1.949 MB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.2436, allocations: 0 / 1.197 GB, free: 1.949 MB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.0002456/0.2438, allocations: 129.5 kB / 1.197 GB, free: 1.816 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.2439, allocations: 85.09 kB / 1.198 GB, free: 1.715 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001592/0.2441, allocations: 211.7 kB / 1.198 GB, free: 1.496 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.2441, allocations: 37.7 kB / 1.198 GB, free: 1.453 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.17e-05/0.2442, allocations: 144.2 kB / 1.198 GB, free: 1.309 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.405e-05/0.2442, allocations: 15.89 kB / 1.198 GB, free: 1.293 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-05/0.2443, allocations: 69.67 kB / 1.198 GB, free: 1.219 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.2444, allocations: 326.8 kB / 1.198 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.2445, allocations: 71.91 kB / 1.198 GB, free: 0.8203 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001169/0.2446, allocations: 136.4 kB / 1.199 GB, free: 0.6562 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/0.2447, allocations: 194.2 kB / 1.199 GB, free: 440 kB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2447, allocations: 0 / 1.199 GB, free: 440 kB / 0.823 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003126/0.2451, allocations: 300.8 kB / 1.199 GB, free: 120 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.36e-05/0.2451, allocations: 63.39 kB / 1.199 GB, free: 44 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.2451, allocations: 8.188 kB / 1.199 GB, free: 36 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2451, allocations: 0 / 1.199 GB, free: 36 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.972e-05/0.2452, allocations: 11.94 kB / 1.199 GB, free: 24 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.2452, allocations: 4 kB / 1.199 GB, free: 20 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.2455, allocations: 60.3 kB / 1.199 GB, free: 15.96 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.2456, allocations: 15.98 kB / 1.199 GB, free: 15.95 MB / 0.8387 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.0001057/0.2457, allocations: 153.7 kB / 1.199 GB, free: 15.79 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/0.2457, allocations: 11.91 kB / 1.199 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.2457, allocations: 25 kB / 1.199 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.2457, allocations: 0 / 1.199 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2457, allocations: 0 / 1.199 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2457, allocations: 0 / 1.199 GB, free: 15.75 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001278/0.2458, allocations: 208.5 kB / 1.2 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.2458, allocations: 8 kB / 1.2 GB, free: 15.5 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.281e-05/0.2459, allocations: 4 kB / 1.2 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2459, allocations: 4 kB / 1.2 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.2459, allocations: 0 / 1.2 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.51e-07/0.2459, allocations: 0 / 1.2 GB, free: 15.49 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2459, allocations: 4 kB / 1.2 GB, free: 15.48 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001174/0.246, allocations: 141.7 kB / 1.2 GB, free: 15.32 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 1.704e-05/0.246, allocations: 19.86 kB / 1.2 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.299e-05/0.246, allocations: 4 kB / 1.2 GB, free: 15.3 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.663e-05/0.246, allocations: 7.938 kB / 1.2 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.2461, allocations: 7.984 kB / 1.2 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.2461, allocations: 4 kB / 1.2 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 8.095e-05/0.2461, allocations: 145.5 kB / 1.2 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2461, allocations: 0 / 1.2 GB, free: 15.14 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001736/0.2463, allocations: 39.94 kB / 1.2 GB, free: 15.1 MB / 0.8387 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.0003286/0.2466, allocations: 0.6756 MB / 1.201 GB, free: 14.39 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.2469, allocations: 230.7 kB / 1.201 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2469, allocations: 0 / 1.201 GB, free: 14.14 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.576e-05/0.2469, allocations: 23.94 kB / 1.201 GB, free: 14.12 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002064/0.2471, allocations: 45.86 kB / 1.201 GB, free: 14.07 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.2489, allocations: 2.192 MB / 1.203 GB, free: 11.74 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.2491, allocations: 0.7242 MB / 1.204 GB, free: 10.99 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 5.156e-05/0.2492, allocations: 17.48 kB / 1.204 GB, free: 10.97 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.2492, allocations: 59.41 kB / 1.204 GB, free: 10.91 MB / 0.8387 GB Notification: Performance of SimCode: time 6.71e-07/0.2492, allocations: 0 / 1.204 GB, free: 10.91 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01591/0.2652, allocations: 4.418 MB / 1.208 GB, free: 6.668 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.99/7.255, allocations: 2.062 kB / 1.208 GB, free: 6.668 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_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_IntegerExtractSignal.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.714266390539706] Failed to read output from testmodel.py, exit status != 0: 7.33055956941098 7.337938127 7.095025467 Calling exit ...