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.0008934/0.0008934, 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.0008971/0.0008971, allocations: 218.3 kB / 22.26 MB, free: 3.699 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.9483/0.9483, allocations: 230.6 MB / 256 MB, free: 9.82 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.04132/0.04132, allocations: 12.18 MB / 324.6 MB, free: 6.371 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.00044/0.00044, allocations: 31.94 kB / 384.1 MB, free: 10.78 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.728/1.728, allocations: 353.8 MB / 0.7787 GB, free: 3.172 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.001416/0.001416, allocations: 118.6 kB / 1.06 GB, free: 24.87 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2307/0.2321, allocations: 134.9 MB / 1.192 GB, free: 7.789 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001658/0.2337, allocations: 0.6409 MB / 1.192 GB, free: 7.152 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00127/0.235, allocations: 0.8747 MB / 1.193 GB, free: 6.266 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.582e-05/0.2351, allocations: 4 kB / 1.193 GB, free: 6.262 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.2352, allocations: 3.938 kB / 1.193 GB, free: 6.258 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 2.163e-05/0.2352, allocations: 3.938 kB / 1.193 GB, free: 6.254 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000171/0.2354, allocations: 23.98 kB / 1.193 GB, free: 6.23 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 8.623e-05/0.2354, allocations: 27.92 kB / 1.193 GB, free: 6.203 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.2356, allocations: 11.94 kB / 1.193 GB, free: 6.191 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.596e-05/0.2357, allocations: 19.91 kB / 1.193 GB, free: 6.172 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.341e-05/0.2357, allocations: 15.92 kB / 1.193 GB, free: 6.156 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.2358, allocations: 7.938 kB / 1.193 GB, free: 6.148 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.2358, allocations: 4 kB / 1.193 GB, free: 6.145 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 6.044e-05/0.2358, allocations: 15.98 kB / 1.193 GB, free: 6.129 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.371e-05/0.2359, allocations: 7.938 kB / 1.193 GB, free: 6.121 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.568e-05/0.236, allocations: 43.8 kB / 1.193 GB, free: 6.078 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.236, allocations: 4 kB / 1.193 GB, free: 6.074 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.844e-06/0.236, allocations: 0 / 1.193 GB, free: 6.074 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.236, allocations: 3.938 kB / 1.193 GB, free: 6.07 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.0003763/0.2363, allocations: 270.3 kB / 1.194 GB, free: 5.773 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001074/0.2365, allocations: 8.031 kB / 1.194 GB, free: 5.766 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.2365, allocations: 38.75 kB / 1.194 GB, free: 5.719 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.2365, allocations: 4.938 kB / 1.194 GB, free: 5.715 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.2366, allocations: 118.5 kB / 1.194 GB, free: 5.574 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/0.2367, allocations: 4.375 kB / 1.194 GB, free: 5.57 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.2367, allocations: 384 / 1.194 GB, free: 5.57 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.2368, allocations: 70.2 kB / 1.194 GB, free: 5.496 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.2368, allocations: 3.938 kB / 1.194 GB, free: 5.492 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.2369, allocations: 4 kB / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2369, allocations: 0 / 1.194 GB, free: 5.488 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.829e-05/0.237, allocations: 47.89 kB / 1.194 GB, free: 5.441 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.2373, allocations: 251.8 kB / 1.194 GB, free: 5.152 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.539e-05/0.2374, allocations: 42.55 kB / 1.194 GB, free: 5.102 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.2375, allocations: 24.84 kB / 1.194 GB, free: 5.074 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.2375, allocations: 4 kB / 1.194 GB, free: 5.07 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.2375, allocations: 34.56 kB / 1.194 GB, free: 5.027 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2375, allocations: 0 / 1.194 GB, free: 5.027 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002203/0.2377, allocations: 89.58 kB / 1.194 GB, free: 4.934 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.2378, allocations: 51.41 kB / 1.194 GB, free: 4.871 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.968e-05/0.2378, allocations: 110 kB / 1.195 GB, free: 4.754 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.2378, allocations: 29.64 kB / 1.195 GB, free: 4.719 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.726e-05/0.2379, allocations: 88.09 kB / 1.195 GB, free: 4.629 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.172e-05/0.2379, allocations: 4 kB / 1.195 GB, free: 4.625 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.442e-05/0.2379, allocations: 17.72 kB / 1.195 GB, free: 4.602 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.997e-05/0.238, allocations: 318.8 kB / 1.195 GB, free: 4.281 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.138e-05/0.238, allocations: 19.92 kB / 1.195 GB, free: 4.262 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.396e-05/0.2381, allocations: 19.98 kB / 1.195 GB, free: 4.242 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.2382, allocations: 44.81 kB / 1.195 GB, free: 4.195 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.2382, allocations: 0 / 1.195 GB, free: 4.195 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001054/0.2383, allocations: 69.61 kB / 1.195 GB, free: 4.121 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.2383, allocations: 8 kB / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2383, allocations: 0 / 1.195 GB, free: 4.113 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2383, allocations: 8.031 kB / 1.195 GB, free: 4.105 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.342e-05/0.2384, allocations: 11.98 kB / 1.195 GB, free: 4.094 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.2384, allocations: 0 / 1.195 GB, free: 4.094 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.589e-05/0.2384, allocations: 11.92 kB / 1.195 GB, free: 4.082 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.2384, allocations: 0 / 1.195 GB, free: 4.082 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 0.0001041/0.2385, allocations: 117.8 kB / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.2386, allocations: 0 / 1.195 GB, free: 3.957 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.792e-05/0.2386, allocations: 11.28 kB / 1.195 GB, free: 3.945 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2386, allocations: 4 kB / 1.195 GB, free: 3.941 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.2386, allocations: 0 / 1.195 GB, free: 3.941 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.2386, allocations: 0 / 1.195 GB, free: 3.941 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.2387, allocations: 144.9 kB / 1.195 GB, free: 3.758 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2387, allocations: 4 kB / 1.195 GB, free: 3.754 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.2387, allocations: 4 kB / 1.195 GB, free: 3.75 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.2387, allocations: 0 / 1.195 GB, free: 3.75 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.216e-06/0.2387, allocations: 7.984 kB / 1.195 GB, free: 3.742 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.2387, allocations: 3.938 kB / 1.195 GB, free: 3.738 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2387, allocations: 0 / 1.195 GB, free: 3.738 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.2389, allocations: 167.5 kB / 1.196 GB, free: 3.559 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.713e-06/0.2389, allocations: 7.953 kB / 1.196 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.418e-06/0.2389, allocations: 3.938 kB / 1.196 GB, free: 3.547 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.896e-05/0.239, allocations: 7.984 kB / 1.196 GB, free: 3.539 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.412e-05/0.239, allocations: 7.984 kB / 1.196 GB, free: 3.531 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.239, allocations: 4.031 kB / 1.196 GB, free: 3.527 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.696e-05/0.2391, allocations: 83.28 kB / 1.196 GB, free: 3.445 MB / 0.823 GB Notification: Performance of sort global known variables: time 5e-08/0.2391, allocations: 4 kB / 1.196 GB, free: 3.441 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001361/0.2392, allocations: 4 kB / 1.196 GB, free: 3.438 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.0004009/0.2396, allocations: 0.6968 MB / 1.196 GB, free: 2.711 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001315/0.2397, allocations: 43.89 kB / 1.196 GB, free: 2.668 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2397, allocations: 0 / 1.196 GB, free: 2.668 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.307e-05/0.2398, allocations: 19.98 kB / 1.196 GB, free: 2.648 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.24, allocations: 7.078 kB / 1.196 GB, free: 2.645 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009547/0.2409, allocations: 1.266 MB / 1.198 GB, free: 1.301 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.2412, allocations: 0.6807 MB / 1.198 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.292e-05/0.2412, allocations: 4 kB / 1.198 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.68e-05/0.2412, allocations: 15.47 kB / 1.198 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of SimCode: time 6.01e-07/0.2412, allocations: 3.938 kB / 1.198 GB, free: 0.5703 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01754/0.2588, allocations: 1.623 MB / 1.2 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.211/6.47, allocations: 9.094 kB / 1.2 GB, free: 15.07 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 10.893101142719388] Failed to read output from testmodel.py, exit status != 0: 6.545293554663658 6.555191445 6.317550397 Calling exit ...