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.0008085/0.0008085, allocations: 105.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.001101/0.001101, allocations: 219.1 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.9718/0.9718, allocations: 230.6 MB / 256 MB, free: 9.816 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.03857/0.03857, allocations: 12.18 MB / 324.6 MB, free: 6.312 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.0003305/0.0003305, allocations: 23.95 kB / 384.1 MB, free: 10.72 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.649/1.649, allocations: 353.8 MB / 0.7787 GB, free: 3.199 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.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.001495/0.001495, allocations: 120.5 kB / 1.06 GB, free: 25.06 MB / 0.7137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.231, allocations: 134.9 MB / 1.192 GB, free: 7.922 MB / 0.823 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001544/0.2325, allocations: 0.6366 MB / 1.192 GB, free: 7.289 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0008386/0.2334, allocations: 0.8358 MB / 1.193 GB, free: 6.441 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.2334, allocations: 0 / 1.193 GB, free: 6.441 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001016/0.2335, allocations: 7.938 kB / 1.193 GB, free: 6.434 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 1.922e-05/0.2335, allocations: 0 / 1.193 GB, free: 6.434 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001142/0.2336, allocations: 7.984 kB / 1.193 GB, free: 6.426 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001675/0.2338, allocations: 23.92 kB / 1.193 GB, free: 6.402 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2339, allocations: 4 kB / 1.193 GB, free: 6.398 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.044e-05/0.234, allocations: 11.94 kB / 1.193 GB, free: 6.387 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.029e-05/0.234, allocations: 7.984 kB / 1.193 GB, free: 6.379 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.234, allocations: 4 kB / 1.193 GB, free: 6.375 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 6.462e-06/0.234, allocations: 4 kB / 1.193 GB, free: 6.371 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 5.998e-05/0.2341, allocations: 19.91 kB / 1.193 GB, free: 6.352 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.2341, allocations: 15.88 kB / 1.193 GB, free: 6.336 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 8.91e-05/0.2342, allocations: 31.83 kB / 1.193 GB, free: 6.305 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.2342, allocations: 0 / 1.193 GB, free: 6.305 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2342, allocations: 0 / 1.193 GB, free: 6.305 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.201e-06/0.2342, allocations: 4 kB / 1.193 GB, free: 6.301 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.0003468/0.2346, allocations: 258.3 kB / 1.194 GB, free: 6.016 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.2346, allocations: 12.03 kB / 1.194 GB, free: 6.004 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.789e-05/0.2347, allocations: 34.75 kB / 1.194 GB, free: 5.961 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.186e-05/0.2347, allocations: 8.875 kB / 1.194 GB, free: 5.953 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.2348, allocations: 122.4 kB / 1.194 GB, free: 5.809 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.2348, allocations: 384 / 1.194 GB, free: 5.809 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.2348, allocations: 384 / 1.194 GB, free: 5.809 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.235, allocations: 58.23 kB / 1.194 GB, free: 5.746 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.235, allocations: 7.875 kB / 1.194 GB, free: 5.738 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.2351, allocations: 0 / 1.194 GB, free: 5.738 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2351, allocations: 0 / 1.194 GB, free: 5.738 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.027e-05/0.2351, allocations: 39.95 kB / 1.194 GB, free: 5.699 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.2355, allocations: 244 kB / 1.194 GB, free: 5.418 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.795e-05/0.2355, allocations: 34.5 kB / 1.194 GB, free: 5.375 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.2356, allocations: 20.91 kB / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.2356, allocations: 0 / 1.194 GB, free: 5.352 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.2356, allocations: 34.56 kB / 1.194 GB, free: 5.309 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 9.11e-07/0.2356, allocations: 3.938 kB / 1.194 GB, free: 5.305 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0002003/0.2358, allocations: 77.64 kB / 1.194 GB, free: 5.223 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.2358, allocations: 51.41 kB / 1.194 GB, free: 5.16 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.2359, allocations: 106 kB / 1.194 GB, free: 5.047 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.947e-06/0.2359, allocations: 25.7 kB / 1.194 GB, free: 5.016 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.855e-05/0.2359, allocations: 88.09 kB / 1.195 GB, free: 4.926 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/0.236, allocations: 3.938 kB / 1.195 GB, free: 4.922 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.236, allocations: 9.719 kB / 1.195 GB, free: 4.906 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.364e-05/0.2361, allocations: 326.8 kB / 1.195 GB, free: 4.578 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.043e-05/0.2361, allocations: 11.98 kB / 1.195 GB, free: 4.566 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.616e-05/0.2362, allocations: 19.98 kB / 1.195 GB, free: 4.547 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.802e-05/0.2362, allocations: 28.83 kB / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2362, allocations: 0 / 1.195 GB, free: 4.516 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.866e-05/0.2363, allocations: 69.61 kB / 1.195 GB, free: 4.441 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.2364, allocations: 4.094 kB / 1.195 GB, free: 4.438 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.2364, allocations: 4 kB / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.2364, allocations: 0 / 1.195 GB, free: 4.434 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.2364, allocations: 7.984 kB / 1.195 GB, free: 4.426 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.2365, allocations: 3.938 kB / 1.195 GB, free: 4.422 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.115e-05/0.2365, allocations: 7.984 kB / 1.195 GB, free: 4.414 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.2365, allocations: 256 / 1.195 GB, free: 4.414 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: 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.984e-05/0.2365, allocations: 118.9 kB / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.2366, allocations: 0 / 1.195 GB, free: 4.289 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86e-05/0.2366, allocations: 11.16 kB / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2366, allocations: 0 / 1.195 GB, free: 4.277 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.2366, allocations: 4 kB / 1.195 GB, free: 4.273 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2366, allocations: 0 / 1.195 GB, free: 4.273 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.2367, allocations: 132.7 kB / 1.195 GB, free: 4.102 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2367, allocations: 7.938 kB / 1.195 GB, free: 4.094 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.168e-05/0.2367, allocations: 7.984 kB / 1.195 GB, free: 4.086 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2367, allocations: 0 / 1.195 GB, free: 4.086 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2367, allocations: 4 kB / 1.195 GB, free: 4.082 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.2367, allocations: 0 / 1.195 GB, free: 4.082 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2367, allocations: 4 kB / 1.195 GB, free: 4.078 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.2368, allocations: 159.5 kB / 1.195 GB, free: 3.906 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.963e-06/0.2369, allocations: 7.875 kB / 1.195 GB, free: 3.898 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.2369, allocations: 3.938 kB / 1.195 GB, free: 3.895 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.552e-05/0.2369, allocations: 4 kB / 1.195 GB, free: 3.891 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.237, allocations: 12 kB / 1.195 GB, free: 3.879 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-06/0.237, allocations: 0 / 1.195 GB, free: 3.879 MB / 0.823 GB Notification: Performance of sorting global known variables: time 6.63e-05/0.237, allocations: 83.28 kB / 1.196 GB, free: 3.797 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.237, allocations: 0 / 1.196 GB, free: 3.797 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001521/0.2372, allocations: 7.953 kB / 1.196 GB, free: 3.789 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: 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.0003348/0.2375, allocations: 0.689 MB / 1.196 GB, free: 3.07 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001217/0.2376, allocations: 39.89 kB / 1.196 GB, free: 3.031 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2376, allocations: 0 / 1.196 GB, free: 3.031 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.784e-05/0.2377, allocations: 15.98 kB / 1.196 GB, free: 3.016 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.2379, allocations: 4.156 kB / 1.196 GB, free: 3.012 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008738/0.2388, allocations: 1.235 MB / 1.197 GB, free: 1.699 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.239, allocations: 0.6768 MB / 1.198 GB, free: 0.9961 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.181e-05/0.2391, allocations: 7.984 kB / 1.198 GB, free: 0.9883 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.2391, allocations: 11.44 kB / 1.198 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of SimCode: time 5.01e-07/0.2391, allocations: 4.031 kB / 1.198 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01497/0.2541, allocations: 1.391 MB / 1.199 GB, free: 15.71 MB / 0.8387 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.285/6.539, allocations: 8.766 kB / 1.2 GB, free: 15.7 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AixLib_AixLib_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 10.841756837442517] Failed to read output from testmodel.py, exit status != 0: 6.61407982558012 6.626532885 6.389640493 Calling exit ...