Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.0006253/0.0006253, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.0008337/0.0008337, allocations: 218.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.9512/0.9512, allocations: 230.6 MB / 256 MB, free: 9.633 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.03662/0.03662, allocations: 12.18 MB / 324.6 MB, free: 6.273 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.0004745/0.0004745, 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.713/1.713, allocations: 353.8 MB / 0.7787 GB, free: 3.152 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.IntegerScalarReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.001465/0.001465, allocations: 117.7 kB / 1.06 GB, free: 25.07 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2507, allocations: 134.9 MB / 1.192 GB, free: 7.906 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001618/0.2524, allocations: 0.6444 MB / 1.192 GB, free: 7.266 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007728/0.2531, allocations: 0.8786 MB / 1.193 GB, free: 6.375 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.387e-05/0.2532, allocations: 0 / 1.193 GB, free: 6.375 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.2533, allocations: 3.938 kB / 1.193 GB, free: 6.371 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 2.184e-05/0.2533, allocations: 3.938 kB / 1.193 GB, free: 6.367 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001781/0.2535, allocations: 19.98 kB / 1.193 GB, free: 6.348 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.671e-05/0.2536, allocations: 27.92 kB / 1.193 GB, free: 6.32 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.2537, allocations: 19.92 kB / 1.193 GB, free: 6.301 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.546e-05/0.2538, allocations: 15.94 kB / 1.193 GB, free: 6.285 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.093e-05/0.2538, allocations: 19.91 kB / 1.193 GB, free: 6.266 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.2538, allocations: 4 kB / 1.193 GB, free: 6.262 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.2538, allocations: 0 / 1.193 GB, free: 6.262 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.017e-05/0.2539, allocations: 11.98 kB / 1.193 GB, free: 6.25 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.458e-05/0.2539, allocations: 15.94 kB / 1.193 GB, free: 6.234 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.254, allocations: 39.8 kB / 1.193 GB, free: 6.195 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.2541, allocations: 4 kB / 1.193 GB, free: 6.191 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.335e-06/0.2541, allocations: 3.938 kB / 1.193 GB, free: 6.188 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.2541, allocations: 0 / 1.193 GB, free: 6.188 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003967/0.2545, allocations: 274.3 kB / 1.194 GB, free: 5.887 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.2545, allocations: 8.031 kB / 1.194 GB, free: 5.879 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.711e-05/0.2545, allocations: 38.73 kB / 1.194 GB, free: 5.832 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.518e-05/0.2546, allocations: 8.938 kB / 1.194 GB, free: 5.824 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2547, allocations: 110.5 kB / 1.194 GB, free: 5.691 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2547, allocations: 384 / 1.194 GB, free: 5.691 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.2547, allocations: 8.375 kB / 1.194 GB, free: 5.684 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/0.2549, allocations: 66.22 kB / 1.194 GB, free: 5.613 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2549, allocations: 3.938 kB / 1.194 GB, free: 5.609 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2549, allocations: 4 kB / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2549, allocations: 0 / 1.194 GB, free: 5.605 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.832e-05/0.255, allocations: 47.89 kB / 1.194 GB, free: 5.559 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003078/0.2553, allocations: 243.9 kB / 1.194 GB, free: 5.277 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.647e-05/0.2554, allocations: 42.55 kB / 1.194 GB, free: 5.227 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.2554, allocations: 32.83 kB / 1.194 GB, free: 5.191 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.2555, allocations: 4.016 kB / 1.194 GB, free: 5.188 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.2555, allocations: 30.56 kB / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 8.51e-07/0.2555, allocations: 0 / 1.194 GB, free: 5.148 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002483/0.2557, allocations: 97.58 kB / 1.194 GB, free: 5.047 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.2558, allocations: 51.41 kB / 1.194 GB, free: 4.984 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.935e-05/0.2558, allocations: 109.8 kB / 1.195 GB, free: 4.867 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.172e-05/0.2558, allocations: 29.7 kB / 1.195 GB, free: 4.832 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.163e-05/0.2559, allocations: 88.08 kB / 1.195 GB, free: 4.742 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.2559, allocations: 0 / 1.195 GB, free: 4.742 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.616e-05/0.2559, allocations: 17.72 kB / 1.195 GB, free: 4.719 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002734/0.2562, allocations: 326.8 kB / 1.195 GB, free: 4.391 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.633e-05/0.2562, allocations: 19.98 kB / 1.195 GB, free: 4.371 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.821e-05/0.2563, allocations: 19.97 kB / 1.195 GB, free: 4.352 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.338e-05/0.2564, allocations: 40.83 kB / 1.195 GB, free: 4.309 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.2564, allocations: 0 / 1.195 GB, free: 4.309 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001106/0.2565, allocations: 73.67 kB / 1.195 GB, free: 4.23 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.2565, allocations: 4 kB / 1.195 GB, free: 4.227 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2565, allocations: 0 / 1.195 GB, free: 4.227 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.2565, allocations: 4 kB / 1.195 GB, free: 4.223 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.403e-05/0.2566, allocations: 7.984 kB / 1.195 GB, free: 4.215 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.2566, allocations: 3.938 kB / 1.195 GB, free: 4.211 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.2566, allocations: 7.984 kB / 1.195 GB, free: 4.203 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.2566, allocations: 7.984 kB / 1.195 GB, free: 4.195 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.431e-05/0.2567, allocations: 117.8 kB / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.18e-05/0.2567, allocations: 0 / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.2567, allocations: 15.3 kB / 1.195 GB, free: 4.055 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.2567, allocations: 0 / 1.195 GB, free: 4.055 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.2567, allocations: 0 / 1.195 GB, free: 4.055 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.2568, allocations: 256 / 1.195 GB, free: 4.055 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.2569, allocations: 136.7 kB / 1.195 GB, free: 3.879 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.2569, allocations: 4 kB / 1.195 GB, free: 3.875 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.2569, allocations: 15.98 kB / 1.195 GB, free: 3.859 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.2569, allocations: 3.938 kB / 1.195 GB, free: 3.855 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.2569, allocations: 0 / 1.195 GB, free: 3.855 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.51e-07/0.2569, allocations: 0 / 1.195 GB, free: 3.855 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2569, allocations: 0 / 1.195 GB, free: 3.855 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.257, allocations: 167.5 kB / 1.196 GB, free: 3.676 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.981e-06/0.257, allocations: 11.92 kB / 1.196 GB, free: 3.664 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.927e-06/0.2571, allocations: 0 / 1.196 GB, free: 3.664 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.814e-05/0.2571, allocations: 11.98 kB / 1.196 GB, free: 3.652 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.638e-05/0.2571, allocations: 7.984 kB / 1.196 GB, free: 3.645 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-06/0.2571, allocations: 0 / 1.196 GB, free: 3.645 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.808e-05/0.2572, allocations: 87.22 kB / 1.196 GB, free: 3.559 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2572, allocations: 0 / 1.196 GB, free: 3.559 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001441/0.2573, allocations: 4 kB / 1.196 GB, free: 3.555 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: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.000338/0.2577, allocations: 0.7029 MB / 1.196 GB, free: 2.824 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001338/0.2578, allocations: 47.89 kB / 1.196 GB, free: 2.777 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2578, allocations: 4.094 kB / 1.196 GB, free: 2.773 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.197e-05/0.2578, allocations: 15.98 kB / 1.196 GB, free: 2.758 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.258, allocations: 8 kB / 1.196 GB, free: 2.75 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008865/0.2589, allocations: 1.258 MB / 1.198 GB, free: 1.414 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.2591, allocations: 0.6807 MB / 1.198 GB, free: 0.707 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.208e-05/0.2591, allocations: 4 kB / 1.198 GB, free: 0.7031 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.2591, allocations: 19.42 kB / 1.198 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of SimCode: time 6.51e-07/0.2591, allocations: 0 / 1.198 GB, free: 0.6836 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01634/0.2755, allocations: 1.636 MB / 1.2 GB, free: 15.18 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.478/6.753, allocations: 11.98 kB / 1.2 GB, free: 15.17 MB / 0.8387 GB " [Timeout remaining time 653] (rm -f AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & python3 -m fmpy simulate --output-file AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_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_IntegerScalarReplicator.fmu > AixLib_AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.348445415496826] Failed to read output from testmodel.py, exit status != 0: 6.829528054222465 6.838906191 6.582948408 Calling exit ...