Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.0008155/0.0008155, 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.0009473/0.0009473, 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.865/0.865, 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/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.03535/0.03535, allocations: 12.19 MB / 324.6 MB, free: 6.094 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.0005528/0.0005528, allocations: 23.97 kB / 384.1 MB, free: 10.52 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.498/1.498, allocations: 353.9 MB / 0.7787 GB, free: 4.559 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.BooleanScalarReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_BooleanScalarReplicator",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.001367/0.001367, allocations: 126 kB / 1.06 GB, free: 24.74 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1938, allocations: 134.9 MB / 1.192 GB, free: 7.508 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001275/0.1951, allocations: 0.6026 MB / 1.192 GB, free: 6.906 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1961, allocations: 1.149 MB / 1.193 GB, free: 5.746 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.1962, allocations: 0 / 1.193 GB, free: 5.746 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 8.073e-05/0.1963, allocations: 3.938 kB / 1.193 GB, free: 5.742 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 2.026e-05/0.1963, allocations: 7.922 kB / 1.193 GB, free: 5.734 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003527/0.1966, allocations: 123.8 kB / 1.194 GB, free: 5.617 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1967, allocations: 91.83 kB / 1.194 GB, free: 5.527 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 7.255e-05/0.1968, allocations: 11.94 kB / 1.194 GB, free: 5.516 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.1969, allocations: 39.89 kB / 1.194 GB, free: 5.477 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.824e-05/0.1969, allocations: 19.97 kB / 1.194 GB, free: 5.457 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.197, allocations: 8 kB / 1.194 GB, free: 5.449 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 5.216e-05/0.197, allocations: 23.98 kB / 1.194 GB, free: 5.426 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.1971, allocations: 15.91 kB / 1.194 GB, free: 5.41 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 4.54e-05/0.1971, allocations: 31.86 kB / 1.194 GB, free: 5.379 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001282/0.1972, allocations: 87.78 kB / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1972, allocations: 0 / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.954e-06/0.1972, allocations: 0 / 1.194 GB, free: 5.293 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.1972, allocations: 4 kB / 1.194 GB, free: 5.289 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003356/0.1976, allocations: 309.4 kB / 1.194 GB, free: 4.949 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1976, allocations: 8.031 kB / 1.194 GB, free: 4.941 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.466e-05/0.1976, allocations: 38.73 kB / 1.194 GB, free: 4.895 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.1977, allocations: 4.938 kB / 1.194 GB, free: 4.891 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.1978, allocations: 122.5 kB / 1.194 GB, free: 4.746 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.648e-06/0.1978, allocations: 4.375 kB / 1.194 GB, free: 4.742 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.269e-05/0.1978, allocations: 8.375 kB / 1.194 GB, free: 4.734 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.841e-05/0.1979, allocations: 42.25 kB / 1.194 GB, free: 4.688 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.1979, allocations: 3.938 kB / 1.194 GB, free: 4.684 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1979, allocations: 11.98 kB / 1.194 GB, free: 4.672 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1979, allocations: 3.984 kB / 1.194 GB, free: 4.668 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.208e-05/0.1979, allocations: 11.94 kB / 1.194 GB, free: 4.656 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002385/0.1982, allocations: 256 kB / 1.195 GB, free: 4.363 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.513e-05/0.1982, allocations: 18.58 kB / 1.195 GB, free: 4.336 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.115e-05/0.1982, allocations: 8.922 kB / 1.195 GB, free: 4.324 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.49e-06/0.1982, allocations: 3.938 kB / 1.195 GB, free: 4.32 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001095/0.1983, allocations: 63.33 kB / 1.195 GB, free: 4.246 MB / 0.823 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1983, allocations: 0 / 1.195 GB, free: 4.246 MB / 0.823 GB Notification: Performance of matching and sorting (n=3): time 0.0001387/0.1985, allocations: 61.64 kB / 1.195 GB, free: 4.18 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.288e-05/0.1985, allocations: 63.39 kB / 1.195 GB, free: 4.105 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.763e-05/0.1986, allocations: 109.8 kB / 1.195 GB, free: 3.988 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.1986, allocations: 25.7 kB / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.732e-05/0.1986, allocations: 96.08 kB / 1.195 GB, free: 3.859 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.025e-06/0.1986, allocations: 3.953 kB / 1.195 GB, free: 3.855 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.1987, allocations: 33.64 kB / 1.195 GB, free: 3.816 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 6.893e-05/0.1987, allocations: 322.8 kB / 1.195 GB, free: 3.492 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.1988, allocations: 61.67 kB / 1.195 GB, free: 3.426 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-05/0.1989, allocations: 76.27 kB / 1.196 GB, free: 3.336 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.491e-05/0.1989, allocations: 80.27 kB / 1.196 GB, free: 3.242 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1989, allocations: 0 / 1.196 GB, free: 3.242 MB / 0.823 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001642/0.1991, allocations: 177 kB / 1.196 GB, free: 3.051 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.1991, allocations: 37.64 kB / 1.196 GB, free: 3.008 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1991, allocations: 0 / 1.196 GB, free: 3.008 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.1991, allocations: 4 kB / 1.196 GB, free: 3.004 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.378e-05/0.1991, allocations: 3.984 kB / 1.196 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.1992, allocations: 0 / 1.196 GB, free: 3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001234/0.1993, allocations: 35.94 kB / 1.196 GB, free: 2.965 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.1993, allocations: 8 kB / 1.196 GB, free: 2.957 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 6.067e-05/0.1993, allocations: 117.8 kB / 1.196 GB, free: 2.832 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.142e-06/0.1994, allocations: 3.953 kB / 1.196 GB, free: 2.828 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.1994, allocations: 15.98 kB / 1.196 GB, free: 2.805 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1994, allocations: 0 / 1.196 GB, free: 2.805 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1994, allocations: 0 / 1.196 GB, free: 2.805 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.1994, allocations: 0 / 1.196 GB, free: 2.805 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.594e-05/0.1995, allocations: 132.7 kB / 1.196 GB, free: 2.633 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1995, allocations: 0 / 1.196 GB, free: 2.633 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.469e-06/0.1995, allocations: 4 kB / 1.196 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1995, allocations: 0 / 1.196 GB, free: 2.629 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.593e-06/0.1995, allocations: 4 kB / 1.196 GB, free: 2.625 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1995, allocations: 0 / 1.196 GB, free: 2.625 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1995, allocations: 0 / 1.196 GB, free: 2.625 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.356e-05/0.1995, allocations: 93.16 kB / 1.196 GB, free: 2.516 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.081e-06/0.1996, allocations: 4.031 kB / 1.196 GB, free: 2.512 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-06/0.1996, allocations: 0 / 1.196 GB, free: 2.512 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.04e-05/0.1996, allocations: 0 / 1.196 GB, free: 2.512 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.157e-05/0.1996, allocations: 11.98 kB / 1.196 GB, free: 2.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1996, allocations: 320 / 1.196 GB, free: 2.5 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.781e-05/0.1996, allocations: 87.28 kB / 1.196 GB, free: 2.414 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.1996, allocations: 0 / 1.196 GB, free: 2.414 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001373/0.1998, allocations: 23.95 kB / 1.196 GB, free: 2.391 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002581/0.2, allocations: 0.6163 MB / 1.197 GB, free: 1.746 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001519/0.2002, allocations: 137.1 kB / 1.197 GB, free: 1.594 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2002, allocations: 0 / 1.197 GB, free: 1.594 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.732e-05/0.2002, allocations: 11.94 kB / 1.197 GB, free: 1.582 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001481/0.2003, allocations: 12.12 kB / 1.197 GB, free: 1.57 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009622/0.2013, allocations: 1.514 MB / 1.199 GB, free: 15.93 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.891e-05/0.2013, allocations: 63.34 kB / 1.199 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 1.865e-05/0.2014, allocations: 4.25 kB / 1.199 GB, free: 15.85 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.159e-05/0.2014, allocations: 11.44 kB / 1.199 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of SimCode: time 4.8e-07/0.2014, allocations: 0 / 1.199 GB, free: 15.84 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.2145, allocations: 2.608 MB / 1.201 GB, free: 13.39 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.037/6.251, allocations: 4.062 kB / 1.201 GB, free: 13.38 MB / 0.8387 GB " [Timeout remaining time 654] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator_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_BooleanScalarReplicator.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.19321957230568] Failed to read output from testmodel.py, exit status != 0: 6.32456642948091 6.3311483 6.132439603 Calling exit ...