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.0008591/0.0008591, 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.0009248/0.0009248, allocations: 207.6 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.9559/0.9559, allocations: 230.6 MB / 256 MB, free: 9.594 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.03669/0.03669, allocations: 12.2 MB / 324.6 MB, free: 6.09 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.0004982/0.0004982, 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.692/1.692, allocations: 353.9 MB / 0.7787 GB, free: 4.566 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.001417/0.001417, allocations: 126.1 kB / 1.06 GB, free: 24.93 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2258, allocations: 134.9 MB / 1.192 GB, free: 7.566 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001541/0.2273, allocations: 0.6524 MB / 1.192 GB, free: 6.918 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0007345/0.2281, allocations: 0.8475 MB / 1.193 GB, free: 6.059 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.2281, allocations: 3.938 kB / 1.193 GB, free: 6.055 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 8.915e-05/0.2282, allocations: 3.938 kB / 1.193 GB, free: 6.051 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 1.98e-05/0.2282, allocations: 3.938 kB / 1.193 GB, free: 6.047 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.000168/0.2284, allocations: 23.98 kB / 1.193 GB, free: 6.023 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 7.949e-05/0.2285, allocations: 31.91 kB / 1.193 GB, free: 5.992 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.2286, allocations: 11.94 kB / 1.193 GB, free: 5.98 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.089e-05/0.2286, allocations: 19.91 kB / 1.193 GB, free: 5.961 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.2287, allocations: 15.98 kB / 1.193 GB, free: 5.945 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.2287, allocations: 4 kB / 1.193 GB, free: 5.941 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 1.111e-05/0.2287, allocations: 7.938 kB / 1.193 GB, free: 5.934 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.268e-05/0.2288, allocations: 11.94 kB / 1.193 GB, free: 5.922 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.253e-05/0.2288, allocations: 19.86 kB / 1.193 GB, free: 5.902 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 9.312e-05/0.2289, allocations: 35.88 kB / 1.193 GB, free: 5.867 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2289, allocations: 0 / 1.193 GB, free: 5.867 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2289, allocations: 0 / 1.193 GB, free: 5.867 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2289, allocations: 0 / 1.193 GB, free: 5.867 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.000381/0.2293, allocations: 270.3 kB / 1.194 GB, free: 5.57 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2293, allocations: 16.03 kB / 1.194 GB, free: 5.555 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.326e-05/0.2294, allocations: 34.75 kB / 1.194 GB, free: 5.512 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.461e-05/0.2294, allocations: 4.938 kB / 1.194 GB, free: 5.508 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.2295, allocations: 114.5 kB / 1.194 GB, free: 5.371 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.2295, allocations: 4.375 kB / 1.194 GB, free: 5.367 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.599e-06/0.2295, allocations: 4.375 kB / 1.194 GB, free: 5.363 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001547/0.2297, allocations: 70.09 kB / 1.194 GB, free: 5.289 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.2297, allocations: 3.938 kB / 1.194 GB, free: 5.285 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.2297, allocations: 0 / 1.194 GB, free: 5.285 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2297, allocations: 4 kB / 1.194 GB, free: 5.281 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.2298, allocations: 47.95 kB / 1.194 GB, free: 5.234 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.2301, allocations: 239.9 kB / 1.194 GB, free: 4.957 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.541e-05/0.2302, allocations: 42.5 kB / 1.194 GB, free: 4.906 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.2302, allocations: 28.89 kB / 1.194 GB, free: 4.875 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.2302, allocations: 0 / 1.194 GB, free: 4.875 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.865e-05/0.2303, allocations: 30.56 kB / 1.194 GB, free: 4.836 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 6.01e-07/0.2303, allocations: 4 kB / 1.194 GB, free: 4.832 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0002291/0.2305, allocations: 89.59 kB / 1.194 GB, free: 4.738 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/0.2305, allocations: 55.34 kB / 1.194 GB, free: 4.672 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.875e-05/0.2306, allocations: 105.8 kB / 1.194 GB, free: 4.559 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.2306, allocations: 29.7 kB / 1.194 GB, free: 4.523 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.742e-05/0.2306, allocations: 84.09 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.2307, allocations: 0 / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/0.2307, allocations: 21.83 kB / 1.195 GB, free: 4.41 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.2309, allocations: 322.8 kB / 1.195 GB, free: 4.086 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.98e-05/0.2309, allocations: 15.98 kB / 1.195 GB, free: 4.07 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.012e-05/0.231, allocations: 19.97 kB / 1.195 GB, free: 4.051 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.644e-05/0.2311, allocations: 44.81 kB / 1.195 GB, free: 4.004 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2311, allocations: 0 / 1.195 GB, free: 4.004 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001109/0.2312, allocations: 77.61 kB / 1.195 GB, free: 3.922 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.2312, allocations: 8 kB / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2312, allocations: 0 / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.2312, allocations: 0 / 1.195 GB, free: 3.914 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.2313, allocations: 16.11 kB / 1.195 GB, free: 3.898 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.2313, allocations: 0 / 1.195 GB, free: 3.898 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.428e-05/0.2313, allocations: 8 kB / 1.195 GB, free: 3.891 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.21e-06/0.2313, allocations: 4 kB / 1.195 GB, free: 3.887 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.0001005/0.2314, allocations: 125.8 kB / 1.195 GB, free: 3.754 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.171e-05/0.2314, allocations: 0 / 1.195 GB, free: 3.754 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.613e-05/0.2314, allocations: 7.297 kB / 1.195 GB, free: 3.746 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2314, allocations: 0 / 1.195 GB, free: 3.746 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2315, allocations: 0 / 1.195 GB, free: 3.746 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.2315, allocations: 0 / 1.195 GB, free: 3.746 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.2316, allocations: 140.7 kB / 1.195 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.2316, allocations: 0 / 1.195 GB, free: 3.566 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.025e-05/0.2316, allocations: 7.984 kB / 1.195 GB, free: 3.559 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.2316, allocations: 0 / 1.195 GB, free: 3.559 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.2316, allocations: 4 kB / 1.195 GB, free: 3.555 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.2316, allocations: 4 kB / 1.195 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.2316, allocations: 0 / 1.195 GB, free: 3.551 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.2317, allocations: 171.4 kB / 1.196 GB, free: 3.367 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.173e-06/0.2318, allocations: 7.953 kB / 1.196 GB, free: 3.359 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.2318, allocations: 0 / 1.196 GB, free: 3.359 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.987e-05/0.2318, allocations: 7.984 kB / 1.196 GB, free: 3.352 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.2318, allocations: 4 kB / 1.196 GB, free: 3.348 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.2318, allocations: 4 kB / 1.196 GB, free: 3.344 MB / 0.823 GB Notification: Performance of sorting global known variables: time 2.622e-05/0.2319, allocations: 87.3 kB / 1.196 GB, free: 3.258 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.2319, allocations: 0 / 1.196 GB, free: 3.258 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001469/0.232, allocations: 8 kB / 1.196 GB, free: 3.25 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.0003094/0.2323, allocations: 0.6967 MB / 1.196 GB, free: 2.523 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001384/0.2325, allocations: 43.98 kB / 1.196 GB, free: 2.48 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.2325, allocations: 0 / 1.196 GB, free: 2.48 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 4.699e-05/0.2325, allocations: 23.97 kB / 1.196 GB, free: 2.457 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.2327, allocations: 7.984 kB / 1.196 GB, free: 2.449 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008937/0.2336, allocations: 1.266 MB / 1.198 GB, free: 1.105 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/0.2336, allocations: 67.33 kB / 1.198 GB, free: 1.02 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 2.954e-05/0.2337, allocations: 0 / 1.198 GB, free: 1.02 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.984e-05/0.2337, allocations: 15.44 kB / 1.198 GB, free: 1.004 MB / 0.823 GB Notification: Performance of SimCode: time 3.91e-07/0.2337, allocations: 0 / 1.198 GB, free: 1.004 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01401/0.2477, allocations: 2.069 MB / 1.2 GB, free: 15.07 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.375/6.623, allocations: 9.719 kB / 1.2 GB, free: 15.06 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: 11.057542387396097] Failed to read output from testmodel.py, exit status != 0: 6.699189039878547 6.707519587 6.476839566 Calling exit ...