Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ExternData_ExternData.Examples.INITest.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.001602/0.001602, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001904/0.001904, allocations: 215 kB / 20.13 MB, free: 2.949 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.478/1.478, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo): time 0.01563/0.01563, allocations: 3.273 MB / 312.8 MB, free: 2.117 MB / 238.1 MB " [Timeout remaining time 180] Using package ExternData with version 3.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.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(ExternData.Examples.INITest,fileNamePrefix="ExternData_ExternData_Examples_INITest",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ExternData.Examples.INITest,fileNamePrefix="ExternData_ExternData_Examples_INITest",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ExternData 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.002084/0.002084, allocations: 72.25 kB / 435.1 MB, free: 39.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0846/0.08669, allocations: 54.33 MB / 489.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ExternData.Examples.INITest): time 0.003645/0.09033, allocations: 1.574 MB / 491 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00144/0.09177, allocations: 1.045 MB / 492 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.193e-05/0.09186, allocations: 1.312 kB / 492 MB, free: 11.55 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ExternData 3.2.0/package.mo:61:3-84:14:writable] Warning: Pure function 'ExternData.INIFile' contains a call to impure function 'ExternData.Types.ExternINIFile.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.09216, allocations: 28.48 kB / 492.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000382/0.09254, allocations: 110 kB / 492.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.038e-05/0.09258, allocations: 5.594 kB / 492.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 8.236e-05/0.09267, allocations: 29.2 kB / 492.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.562e-05/0.09276, allocations: 10.98 kB / 492.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.299e-05/0.09281, allocations: 13.97 kB / 492.2 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001601/0.09297, allocations: 23.12 kB / 492.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.09299, allocations: 6.688 kB / 492.3 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001958/0.09318, allocations: 114.6 kB / 492.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.643e-05/0.0932, allocations: 9.203 kB / 492.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.825e-05/0.09324, allocations: 15.72 kB / 492.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002369/0.09347, allocations: 126.1 kB / 492.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.09348, allocations: 0 / 492.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.09348, allocations: 0 / 492.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.09349, allocations: 3.938 kB / 492.5 MB, free: 11.25 MB / 350.1 MB 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.0004637/0.09395, allocations: 380.5 kB / 492.9 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.094, allocations: 13.84 kB / 492.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.168e-05/0.09401, allocations: 1.594 kB / 492.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.918e-05/0.09403, allocations: 32.12 kB / 492.9 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.103e-05/0.09406, allocations: 10.3 kB / 493 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.09425, allocations: 178.2 kB / 493.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.09426, allocations: 1.438 kB / 493.1 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.09428, allocations: 9.281 kB / 493.1 MB, free: 10.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.09442, allocations: 48 kB / 493.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.09443, allocations: 4 kB / 493.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.09444, allocations: 0 / 493.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.09445, allocations: 1.688 kB / 493.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.09455, allocations: 32.34 kB / 493.2 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.09488, allocations: 260 kB / 493.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.09509, allocations: 50.19 kB / 493.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.115e-05/0.09514, allocations: 19 kB / 493.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.09516, allocations: 1.531 kB / 493.6 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.09517, allocations: 34.5 kB / 493.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.403e-06/0.09517, allocations: 0 / 493.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002568/0.09543, allocations: 68.5 kB / 493.7 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.09546, allocations: 52.88 kB / 493.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.7e-05/0.09556, allocations: 115 kB / 493.8 MB, free: 9.906 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-06/0.09556, allocations: 25.7 kB / 493.8 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.264e-05/0.0956, allocations: 90.78 kB / 493.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.09562, allocations: 17.06 kB / 493.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.776e-05/0.09565, allocations: 12.38 kB / 494 MB, free: 9.754 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.279e-05/0.09571, allocations: 328.2 kB / 494.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.135e-05/0.09575, allocations: 5.312 kB / 494.3 MB, free: 9.426 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.253e-05/0.09578, allocations: 14.7 kB / 494.3 MB, free: 9.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.891e-05/0.09586, allocations: 42.67 kB / 494.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.09586, allocations: 0 / 494.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.00011/0.09597, allocations: 51.56 kB / 494.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.09599, allocations: 5.5 kB / 494.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.09599, allocations: 0 / 494.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.09601, allocations: 0 / 494.4 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.931e-05/0.09606, allocations: 9.484 kB / 494.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.09607, allocations: 1.375 kB / 494.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.149e-05/0.0961, allocations: 5.375 kB / 494.4 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.0961, allocations: 1.375 kB / 494.4 MB, free: 9.34 MB / 350.1 MB 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 (3): * Single equations (assignments): 3 * 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.401e-05/0.09616, allocations: 119.1 kB / 494.5 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.09618, allocations: 6.703 kB / 494.5 MB, free: 9.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.09621, allocations: 9.266 kB / 494.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.09621, allocations: 0 / 494.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.09621, allocations: 1.375 kB / 494.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.09621, allocations: 384 / 494.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000119/0.09633, allocations: 169.8 kB / 494.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.09633, allocations: 4 kB / 494.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.848e-05/0.09637, allocations: 5.5 kB / 494.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.09637, allocations: 3.938 kB / 494.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.09638, allocations: 1.375 kB / 494.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.09638, allocations: 0 / 494.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.09638, allocations: 5.359 kB / 494.7 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.09651, allocations: 153 kB / 494.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.352e-05/0.09654, allocations: 87.59 kB / 495 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.374e-05/0.09655, allocations: 3.938 kB / 495 MB, free: 8.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.09661, allocations: 6.562 kB / 495 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.704e-05/0.09663, allocations: 1.219 kB / 495 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.228e-06/0.09663, allocations: 1.156 kB / 495 MB, free: 8.719 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.207e-05/0.09668, allocations: 92.52 kB / 495.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09668, allocations: 0 / 495.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002873/0.09696, allocations: 45.89 kB / 495.1 MB, free: 8.613 MB / 350.1 MB 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 (3): * Single equations (assignments): 3 * 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.001041/0.098, allocations: 0.8862 MB / 496 MB, free: 7.848 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.09814, allocations: 30.59 kB / 496 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.09815, allocations: 0 / 496 MB, free: 7.832 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.09819, allocations: 16.08 kB / 496 MB, free: 7.824 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.09845, allocations: 8.656 kB / 496.1 MB, free: 7.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.09949, allocations: 1.289 MB / 497.3 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.09961, allocations: 0.6829 MB / 498 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.268e-05/0.09964, allocations: 2.875 kB / 498 MB, free: 5.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.09969, allocations: 23.42 kB / 498.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of SimCode: time 4.11e-07/0.09969, allocations: 1.438 kB / 498.1 MB, free: 5.848 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02533/0.125, allocations: 2.569 MB / 0.4889 GB, free: 3.441 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.219/8.344, allocations: 11.09 kB / 0.4889 GB, free: 3.434 MB / 350.1 MB " [Timeout remaining time 652] (rm -f ExternData_ExternData.Examples.INITest.pipe ; mkfifo ExternData_ExternData.Examples.INITest.pipe ; head -c 1048576 < ExternData_ExternData.Examples.INITest.pipe >> ../files/ExternData_ExternData.Examples.INITest.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ExternData_ExternData_Examples_INITest_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 ExternData_ExternData_Examples_INITest.fmu > ExternData_ExternData.Examples.INITest.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.925008389982395] Failed to read output from testmodel.py, exit status != 0: 8.464110305998474 8.476927024 8.380662725 Calling exit ...