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.0007451/0.0007451, allocations: 109.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.0009285/0.0009285, allocations: 214.2 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.8849/0.8849, allocations: 230.6 MB / 256 MB, free: 9.621 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.03572/0.03572, allocations: 12.19 MB / 324.6 MB, free: 6.102 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.0004083/0.0004083, allocations: 27.95 kB / 384.1 MB, free: 10.53 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.526/1.526, allocations: 353.9 MB / 0.7787 GB, free: 4.562 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.001332/0.001332, allocations: 116.1 kB / 1.06 GB, free: 24.79 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1937/0.195, allocations: 134.9 MB / 1.192 GB, free: 7.477 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanExtractSignal): time 0.001488/0.1965, allocations: 0.6824 MB / 1.192 GB, free: 6.797 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1977, allocations: 1.281 MB / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.098e-05/0.1977, allocations: 0 / 1.194 GB, free: 5.504 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 9.65e-05/0.1978, allocations: 11.86 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.012e-05/0.1979, allocations: 15.88 kB / 1.194 GB, free: 5.477 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005408/0.1984, allocations: 238.1 kB / 1.194 GB, free: 5.25 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.1986, allocations: 255.5 kB / 1.194 GB, free: 5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1987, allocations: 27.92 kB / 1.194 GB, free: 4.973 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1988, allocations: 103.8 kB / 1.194 GB, free: 4.871 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.199, allocations: 71.78 kB / 1.194 GB, free: 4.801 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.199, allocations: 20 kB / 1.194 GB, free: 4.781 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.771e-05/0.1991, allocations: 43.97 kB / 1.194 GB, free: 4.738 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.356e-05/0.1991, allocations: 27.92 kB / 1.194 GB, free: 4.711 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.1992, allocations: 83.69 kB / 1.194 GB, free: 4.629 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1994, allocations: 239.1 kB / 1.195 GB, free: 4.395 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.1994, allocations: 0 / 1.195 GB, free: 4.395 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.473e-06/0.1994, allocations: 0 / 1.195 GB, free: 4.395 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.1994, allocations: 0 / 1.195 GB, free: 4.395 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.0004261/0.1998, allocations: 433.1 kB / 1.195 GB, free: 3.926 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.1999, allocations: 12.03 kB / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.934e-05/0.1999, allocations: 42.73 kB / 1.195 GB, free: 3.863 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.2001, allocations: 44.86 kB / 1.195 GB, free: 3.82 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005341/0.2007, allocations: 207.1 kB / 1.195 GB, free: 3.594 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.63e-05/0.2007, allocations: 16.38 kB / 1.195 GB, free: 3.578 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.403e-05/0.2007, allocations: 20.36 kB / 1.195 GB, free: 3.559 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001492/0.2009, allocations: 139.2 kB / 1.196 GB, free: 3.406 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.2009, allocations: 0 / 1.196 GB, free: 3.406 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.2009, allocations: 0 / 1.196 GB, free: 3.406 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.2009, allocations: 4 kB / 1.196 GB, free: 3.402 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.024e-05/0.2009, allocations: 59.84 kB / 1.196 GB, free: 3.344 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.2014, allocations: 0.5979 MB / 1.196 GB, free: 2.691 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.12e-05/0.2014, allocations: 41.14 kB / 1.196 GB, free: 2.633 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.75e-05/0.2015, allocations: 21.78 kB / 1.196 GB, free: 2.605 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.2015, allocations: 3.938 kB / 1.196 GB, free: 2.602 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001425/0.2016, allocations: 85.09 kB / 1.196 GB, free: 2.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.2016, allocations: 0 / 1.196 GB, free: 2.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=6): time 0.000181/0.2018, allocations: 109.5 kB / 1.196 GB, free: 2.387 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.2018, allocations: 77.11 kB / 1.197 GB, free: 2.293 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.2019, allocations: 180.7 kB / 1.197 GB, free: 2.109 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.2019, allocations: 29.7 kB / 1.197 GB, free: 2.074 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.202, allocations: 123.8 kB / 1.197 GB, free: 1.949 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.202, allocations: 27.83 kB / 1.197 GB, free: 1.922 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.2021, allocations: 61.67 kB / 1.197 GB, free: 1.855 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.028e-05/0.2021, allocations: 322.8 kB / 1.197 GB, free: 1.531 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.948e-05/0.2022, allocations: 107.4 kB / 1.197 GB, free: 1.414 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/0.2024, allocations: 231.3 kB / 1.198 GB, free: 1.133 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001186/0.2025, allocations: 174.1 kB / 1.198 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2025, allocations: 4.031 kB / 1.198 GB, free: 0.9219 MB / 0.823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000267/0.2028, allocations: 332.5 kB / 1.198 GB, free: 0.5664 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.2028, allocations: 63.39 kB / 1.198 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2028, allocations: 0 / 1.198 GB, free: 0.4922 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2028, allocations: 7.984 kB / 1.198 GB, free: 496 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.581e-05/0.2028, allocations: 7.984 kB / 1.198 GB, free: 488 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2028, allocations: 0 / 1.198 GB, free: 488 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001651/0.203, allocations: 64.14 kB / 1.198 GB, free: 424 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.203, allocations: 8 kB / 1.198 GB, free: 416 kB / 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.304e-05/0.2031, allocations: 137.8 kB / 1.198 GB, free: 268 kB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.23e-05/0.2031, allocations: 23.83 kB / 1.198 GB, free: 244 kB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.2031, allocations: 12.34 kB / 1.198 GB, free: 224 kB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.2031, allocations: 0 / 1.198 GB, free: 224 kB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.2032, allocations: 4 kB / 1.198 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.2032, allocations: 0 / 1.198 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001053/0.2033, allocations: 176.6 kB / 1.199 GB, free: 0 / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2033, allocations: 0 / 1.199 GB, free: 0 / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.61e-05/0.2033, allocations: 4.047 kB / 1.199 GB, free: 15.99 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2033, allocations: 8 kB / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.2033, allocations: 3.938 kB / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.2033, allocations: 0 / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2033, allocations: 96 / 1.199 GB, free: 15.98 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001016/0.2034, allocations: 121.7 kB / 1.199 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.2034, allocations: 7.953 kB / 1.199 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.2034, allocations: 12 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.2034, allocations: 3.938 kB / 1.199 GB, free: 15.82 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/0.2035, allocations: 7.984 kB / 1.199 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.2035, allocations: 0 / 1.199 GB, free: 15.81 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 5.548e-05/0.2035, allocations: 125.4 kB / 1.199 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2035, allocations: 0 / 1.199 GB, free: 15.69 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.000163/0.2037, allocations: 39.94 kB / 1.199 GB, free: 15.65 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: 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.0002798/0.204, allocations: 0.6619 MB / 1.199 GB, free: 14.96 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0002337/0.2042, allocations: 274.4 kB / 1.2 GB, free: 14.66 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.2042, allocations: 4 kB / 1.2 GB, free: 14.65 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/0.2042, allocations: 11.94 kB / 1.2 GB, free: 14.64 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001588/0.2044, allocations: 23.98 kB / 1.2 GB, free: 14.62 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.2058, allocations: 2.168 MB / 1.202 GB, free: 12.25 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002963/0.2061, allocations: 109.9 kB / 1.202 GB, free: 12.12 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.052e-05/0.2061, allocations: 4.984 kB / 1.202 GB, free: 12.12 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.149e-05/0.2062, allocations: 39.42 kB / 1.202 GB, free: 12.08 MB / 0.8387 GB Notification: Performance of SimCode: time 9.62e-07/0.2062, allocations: 0 / 1.202 GB, free: 12.08 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.2207, allocations: 4.245 MB / 1.206 GB, free: 8.02 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.971/6.192, allocations: 6.828 kB / 1.206 GB, free: 8.016 MB / 0.8387 GB " [Timeout remaining time 654] (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: 10.203804546035826] Failed to read output from testmodel.py, exit status != 0: 6.266031253151596 6.274875669 6.073630213 Calling exit ...