Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.0008705/0.0008705, 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.0009456/0.0009456, allocations: 214.6 kB / 22.26 MB, free: 3.852 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.9845/0.9845, allocations: 230.6 MB / 256 MB, free: 3.449 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.03897/0.03897, allocations: 12.19 MB / 324.6 MB, free: 3.43 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.000494/0.000494, allocations: 28.66 kB / 384.1 MB, free: 45.78 MB / 298.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.784/1.784, allocations: 353.8 MB / 0.7787 GB, free: 13.03 MB / 0.5262 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.RealScalarReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",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.001529/0.001529, allocations: 120 kB / 1.06 GB, free: 9.938 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2259, allocations: 134.9 MB / 1.192 GB, free: 3.113 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001331/0.2273, allocations: 0.6338 MB / 1.192 GB, free: 2.484 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0006939/0.228, allocations: 0.8342 MB / 1.193 GB, free: 1.641 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.421e-05/0.228, allocations: 0 / 1.193 GB, free: 1.641 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 8.927e-05/0.2281, allocations: 0 / 1.193 GB, free: 1.641 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 1.91e-05/0.2281, allocations: 7.938 kB / 1.193 GB, free: 1.633 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001008/0.2282, allocations: 4 kB / 1.193 GB, free: 1.629 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.522e-05/0.2283, allocations: 31.91 kB / 1.193 GB, free: 1.598 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.467e-05/0.2284, allocations: 11.98 kB / 1.193 GB, free: 1.586 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.643e-05/0.2284, allocations: 7.938 kB / 1.193 GB, free: 1.578 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.311e-05/0.2285, allocations: 11.98 kB / 1.193 GB, free: 1.566 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.2285, allocations: 0 / 1.193 GB, free: 1.566 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.524e-06/0.2285, allocations: 4 kB / 1.193 GB, free: 1.562 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.2286, allocations: 11.94 kB / 1.193 GB, free: 1.551 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.5e-05/0.2286, allocations: 11.92 kB / 1.193 GB, free: 1.539 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.335e-05/0.2287, allocations: 35.83 kB / 1.193 GB, free: 1.504 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2287, allocations: 3.984 kB / 1.193 GB, free: 1.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2287, allocations: 0 / 1.193 GB, free: 1.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.2287, allocations: 4 kB / 1.193 GB, free: 1.496 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.000336/0.229, allocations: 266.3 kB / 1.194 GB, free: 1.203 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2291, allocations: 11.98 kB / 1.194 GB, free: 1.191 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.087e-05/0.2291, allocations: 34.75 kB / 1.194 GB, free: 1.148 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.837e-05/0.2291, allocations: 0.9375 kB / 1.194 GB, free: 1.148 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001201/0.2293, allocations: 118.4 kB / 1.194 GB, free: 1.008 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-06/0.2293, allocations: 4.359 kB / 1.194 GB, free: 1.004 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.2293, allocations: 4.375 kB / 1.194 GB, free: 1 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.2294, allocations: 58.23 kB / 1.194 GB, free: 0.9375 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.2294, allocations: 7.875 kB / 1.194 GB, free: 0.9297 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.2294, allocations: 4 kB / 1.194 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.2294, allocations: 0 / 1.194 GB, free: 0.9258 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.2295, allocations: 35.91 kB / 1.194 GB, free: 0.8906 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002874/0.2298, allocations: 244 kB / 1.194 GB, free: 0.6094 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.533e-05/0.2299, allocations: 30.55 kB / 1.194 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.425e-05/0.2299, allocations: 24.91 kB / 1.194 GB, free: 0.543 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.958e-06/0.2299, allocations: 0 / 1.194 GB, free: 0.543 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.838e-05/0.2299, allocations: 34.5 kB / 1.194 GB, free: 0.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 5.41e-07/0.2299, allocations: 0 / 1.194 GB, free: 0.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0001986/0.2301, allocations: 81.58 kB / 1.194 GB, free: 424 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.2302, allocations: 51.41 kB / 1.194 GB, free: 360 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.461e-05/0.2302, allocations: 105.8 kB / 1.194 GB, free: 244 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.2302, allocations: 25.7 kB / 1.194 GB, free: 212 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.607e-05/0.2303, allocations: 88.09 kB / 1.195 GB, free: 120 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.373e-05/0.2303, allocations: 0 / 1.195 GB, free: 120 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.106e-05/0.2303, allocations: 17.84 kB / 1.195 GB, free: 96 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.2304, allocations: 318.8 kB / 1.195 GB, free: 15.77 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.409e-05/0.2304, allocations: 15.97 kB / 1.195 GB, free: 15.76 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.2305, allocations: 15.98 kB / 1.195 GB, free: 15.74 MB / 0.8387 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.953e-05/0.2305, allocations: 36.83 kB / 1.195 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2305, allocations: 4 kB / 1.195 GB, free: 15.7 MB / 0.8387 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.705e-05/0.2306, allocations: 65.86 kB / 1.195 GB, free: 15.63 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.2306, allocations: 6.188 kB / 1.195 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.2307, allocations: 0 / 1.195 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2307, allocations: 4 kB / 1.195 GB, free: 15.62 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.96e-05/0.2307, allocations: 11.98 kB / 1.195 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.2307, allocations: 0 / 1.195 GB, free: 15.61 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.213e-05/0.2308, allocations: 8.031 kB / 1.195 GB, free: 15.6 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.2308, allocations: 0 / 1.195 GB, free: 15.6 MB / 0.8387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 5.967e-05/0.2308, allocations: 121.8 kB / 1.195 GB, free: 15.47 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.247e-05/0.2308, allocations: 0 / 1.195 GB, free: 15.47 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.683e-05/0.2308, allocations: 3.156 kB / 1.195 GB, free: 15.47 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2308, allocations: 0 / 1.195 GB, free: 15.47 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.2309, allocations: 3.938 kB / 1.195 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2309, allocations: 0 / 1.195 GB, free: 15.46 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.231, allocations: 136.7 kB / 1.195 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.231, allocations: 4 kB / 1.195 GB, free: 15.29 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.231, allocations: 4 kB / 1.195 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.231, allocations: 0 / 1.195 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.553e-06/0.231, allocations: 4 kB / 1.195 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.231, allocations: 0 / 1.195 GB, free: 15.28 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.231, allocations: 7.922 kB / 1.195 GB, free: 15.27 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.2311, allocations: 163.5 kB / 1.195 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 6.863e-06/0.2311, allocations: 3.938 kB / 1.195 GB, free: 15.09 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.2311, allocations: 11.92 kB / 1.195 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.332e-05/0.2312, allocations: 0 / 1.195 GB, free: 15.08 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.179e-05/0.2312, allocations: 4 kB / 1.195 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2312, allocations: 3.984 kB / 1.195 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 9.954e-05/0.2313, allocations: 83.28 kB / 1.196 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of sort global known variables: time 5e-08/0.2313, allocations: 0 / 1.196 GB, free: 14.99 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0001395/0.2314, allocations: 7.953 kB / 1.196 GB, free: 14.98 MB / 0.8387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0003022/0.2317, allocations: 0.689 MB / 1.196 GB, free: 14.26 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.0001175/0.2319, allocations: 39.98 kB / 1.196 GB, free: 14.22 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2319, allocations: 0 / 1.196 GB, free: 14.22 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 3.931e-05/0.2319, allocations: 19.92 kB / 1.196 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002231/0.2321, allocations: 4 kB / 1.196 GB, free: 14.2 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008721/0.233, allocations: 1.23 MB / 1.197 GB, free: 12.89 MB / 0.8387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001738/0.2332, allocations: 0.6807 MB / 1.198 GB, free: 12.18 MB / 0.8387 GB Notification: Performance of simCode: alias equations: time 3.267e-05/0.2332, allocations: 3.984 kB / 1.198 GB, free: 12.18 MB / 0.8387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.2332, allocations: 11.44 kB / 1.198 GB, free: 12.17 MB / 0.8387 GB Notification: Performance of SimCode: time 6.91e-07/0.2332, allocations: 0 / 1.198 GB, free: 12.17 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01573/0.249, allocations: 1.398 MB / 1.2 GB, free: 10.9 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.416/6.665, allocations: 6.344 kB / 1.2 GB, free: 10.9 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_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_RealScalarReplicator.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.316007511690259] Failed to read output from testmodel.py, exit status != 0: 6.7435081182047725 6.753287329 6.522834054 Calling exit ...