Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.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.00165/0.00165, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 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.001995/0.001995, allocations: 209.6 kB / 20.13 MB, free: 3.055 MB / 14.72 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 1.593/1.593, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8719/0.8719, allocations: 133.9 MB / 443.5 MB, free: 13.96 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Time.Examples.ModelTime,fileNamePrefix="IDEAS_IDEAS_Utilities_Time_Examples_ModelTime",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.002042/0.002042, allocations: 71.19 kB / 0.6141 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1439, allocations: 85.84 MB / 0.6979 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Time.Examples.ModelTime): time 0.0018/0.1457, allocations: 0.6077 MB / 0.6985 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 3.962e-05/0.1457, allocations: 1.188 kB / 0.6985 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.888e-05/0.1457, allocations: 0 / 0.6985 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.226e-05/0.1458, allocations: 0 / 0.6985 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 8.997e-06/0.1458, allocations: 5 kB / 0.6985 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 4.654e-05/0.1458, allocations: 4 kB / 0.6985 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.58e-05/0.1459, allocations: 1.094 kB / 0.6985 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.978e-05/0.1459, allocations: 1.188 kB / 0.6985 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.811e-05/0.1459, allocations: 1.156 kB / 0.6985 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.353e-05/0.146, allocations: 3.984 kB / 0.6985 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.146, allocations: 0 / 0.6985 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 3.146e-06/0.146, allocations: 1.031 kB / 0.6985 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.282e-05/0.146, allocations: 4 kB / 0.6985 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.954e-05/0.146, allocations: 1.062 kB / 0.6985 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 5.242e-05/0.1461, allocations: 0 / 0.6985 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1461, allocations: 5.125 kB / 0.6985 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.784e-06/0.1461, allocations: 3.938 kB / 0.6985 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.1461, allocations: 0 / 0.6985 GB, free: 13.2 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003161/0.1464, allocations: 314.8 kB / 0.6988 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.1464, allocations: 10.52 kB / 0.6988 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.268e-05/0.1465, allocations: 1.375 kB / 0.6988 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.1465, allocations: 30.75 kB / 0.6989 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.869e-05/0.1465, allocations: 2.062 kB / 0.6989 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001078/0.1466, allocations: 164.4 kB / 0.699 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.868e-06/0.1466, allocations: 4.375 kB / 0.699 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.1466, allocations: 1.438 kB / 0.699 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.614e-05/0.1467, allocations: 40.09 kB / 0.6991 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.1467, allocations: 0 / 0.6991 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-06/0.1467, allocations: 0 / 0.6991 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1467, allocations: 0 / 0.6991 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.464e-05/0.1468, allocations: 2.25 kB / 0.6991 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001385/0.1469, allocations: 146.8 kB / 0.6992 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.567e-05/0.1469, allocations: 23.7 kB / 0.6992 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.251e-05/0.147, allocations: 7.203 kB / 0.6992 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 9.458e-06/0.147, allocations: 1.062 kB / 0.6992 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/0.147, allocations: 38.44 kB / 0.6993 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.147, allocations: 1.281 kB / 0.6993 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001141/0.1471, allocations: 34.31 kB / 0.6993 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.1472, allocations: 51.53 kB / 0.6994 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.706e-05/0.1472, allocations: 97.86 kB / 0.6995 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.1472, allocations: 26.86 kB / 0.6995 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.1472, allocations: 80.14 kB / 0.6996 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.1473, allocations: 1.031 kB / 0.6996 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/0.1473, allocations: 11.03 kB / 0.6996 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1474, allocations: 312.2 kB / 0.6999 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.945e-06/0.1474, allocations: 0 / 0.6999 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.659e-06/0.1474, allocations: 1.406 kB / 0.6999 GB, free: 11.63 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.226e-05/0.1475, allocations: 23.72 kB / 0.6999 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1475, allocations: 0 / 0.6999 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.98e-05/0.1475, allocations: 31.27 kB / 0.6999 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1475, allocations: 10.75 kB / 0.6999 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.828e-06/0.1475, allocations: 0 / 0.6999 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.1475, allocations: 3.938 kB / 0.6999 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.079e-05/0.1476, allocations: 1.406 kB / 0.6999 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.1476, allocations: 1.188 kB / 0.6999 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-06/0.1476, allocations: 0 / 0.6999 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.1476, allocations: 5.344 kB / 0.6999 GB, free: 11.57 MB / 0.5137 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 7.01e-05/0.1477, allocations: 107.8 kB / 0.7 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.1477, allocations: 7.938 kB / 0.7001 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.544e-05/0.1477, allocations: 7.109 kB / 0.7001 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.1477, allocations: 5.281 kB / 0.7001 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1477, allocations: 0 / 0.7001 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.1477, allocations: 0 / 0.7001 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001136/0.1478, allocations: 146.9 kB / 0.7002 GB, free: 11.24 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.1478, allocations: 9.328 kB / 0.7002 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.067e-05/0.1478, allocations: 5.188 kB / 0.7002 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1479, allocations: 3.938 kB / 0.7002 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.999e-06/0.1479, allocations: 1.156 kB / 0.7002 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1479, allocations: 3.984 kB / 0.7002 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1479, allocations: 0 / 0.7002 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.926e-05/0.1479, allocations: 55.7 kB / 0.7003 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.721e-05/0.148, allocations: 77.11 kB / 0.7004 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.148e-05/0.148, allocations: 5.125 kB / 0.7004 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-06/0.148, allocations: 4 kB / 0.7004 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.55e-05/0.148, allocations: 4.953 kB / 0.7004 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-06/0.148, allocations: 0 / 0.7004 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.263e-05/0.148, allocations: 76.34 kB / 0.7004 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7e-08/0.148, allocations: 0 / 0.7004 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001695/0.1482, allocations: 0.9062 kB / 0.7004 GB, free: 10.98 MB / 0.5137 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.0003658/0.1486, allocations: 0.592 MB / 0.701 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.882e-05/0.1486, allocations: 6.422 kB / 0.701 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1486, allocations: 1.25 kB / 0.701 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.17e-06/0.1487, allocations: 1.438 kB / 0.701 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.1488, allocations: 1.188 kB / 0.701 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.1491, allocations: 108.1 kB / 0.7011 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.1494, allocations: 0.6743 MB / 0.7018 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.161e-05/0.1494, allocations: 0 / 0.7018 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.1494, allocations: 7.438 kB / 0.7018 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of SimCode: time 4.81e-07/0.1494, allocations: 3.938 kB / 0.7018 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01677/0.1662, allocations: 0.901 MB / 0.7027 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/8.553, allocations: 16.92 kB / 0.7027 GB, free: 8.973 MB / 0.5137 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; mkfifo IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe >> ../files/IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Time_Examples_ModelTime_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Time_Examples_ModelTime.fmu > IDEAS_IDEAS.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.452374471991789] Failed to read output from testmodel.py, exit status != 0: 8.948721783002838 8.693588663 8.544451936 Calling exit ...