Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00127/0.00127, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001505/0.001505, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 230.5 MB / 258.2 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2324/0.2324, allocations: 46.93 MB / 361.6 MB, free: 4.211 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 83.84 kB / 0.497 GB, free: 7.762 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3335/0.3358, allocations: 66.08 MB / 0.5615 GB, free: 4.328 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.00424/0.3401, allocations: 2.144 MB / 0.5636 GB, free: 2.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002836/0.3429, allocations: 1.402 MB / 0.565 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001195/0.343, allocations: 4 kB / 0.565 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 9.361e-05/0.3431, allocations: 23.67 kB / 0.565 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.3433, allocations: 35.7 kB / 0.565 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.3438, allocations: 195.3 kB / 0.5652 GB, free: 0.5078 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003257/0.3441, allocations: 184 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.3444, allocations: 93.78 kB / 0.5655 GB, free: 240 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001798/0.3445, allocations: 87.66 kB / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.3447, allocations: 91.53 kB / 0.5657 GB, free: 60 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.3447, allocations: 16 kB / 0.5657 GB, free: 44 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003202/0.345, allocations: 151.9 kB / 0.5658 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.015e-05/0.345, allocations: 43.84 kB / 0.5659 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.867e-05/0.3451, allocations: 95.41 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004514/0.3456, allocations: 314.6 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.3456, allocations: 0 / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3456, allocations: 0 / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.023e-05/0.3456, allocations: 7.938 kB / 0.5663 GB, free: 15.44 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006651/0.3463, allocations: 465.5 kB / 0.5667 GB, free: 14.96 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.3463, allocations: 12.03 kB / 0.5667 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.3464, allocations: 87.2 kB / 0.5668 GB, free: 14.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009904/0.3474, allocations: 80.69 kB / 0.5669 GB, free: 14.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003348/0.3478, allocations: 162.2 kB / 0.567 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.3478, allocations: 25.03 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.825e-05/0.3478, allocations: 32.36 kB / 0.5671 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004297/0.3483, allocations: 238.2 kB / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3483, allocations: 0 / 0.5673 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.3483, allocations: 12 kB / 0.5673 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.3483, allocations: 8 kB / 0.5673 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.3486, allocations: 166.5 kB / 0.5675 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009419/0.3496, allocations: 0.6054 MB / 0.5681 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000533/0.3501, allocations: 220.2 kB / 0.5683 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00014/0.3503, allocations: 65.3 kB / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.532e-05/0.3503, allocations: 240 / 0.5684 GB, free: 13.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.292e-05/0.3503, allocations: 38.73 kB / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.162e-06/0.3503, allocations: 0 / 0.5684 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005167/0.3508, allocations: 215.9 kB / 0.5686 GB, free: 12.91 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.3509, allocations: 59.34 kB / 0.5687 GB, free: 12.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.598e-05/0.351, allocations: 101.9 kB / 0.5688 GB, free: 12.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.351, allocations: 33.7 kB / 0.5688 GB, free: 12.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.354e-05/0.3511, allocations: 152.5 kB / 0.5689 GB, free: 12.54 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.028e-05/0.3512, allocations: 95.17 kB / 0.569 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.754e-05/0.3512, allocations: 37.7 kB / 0.5691 GB, free: 12.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3514, allocations: 322.8 kB / 0.5694 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.622e-05/0.3515, allocations: 39.98 kB / 0.5694 GB, free: 12.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.3516, allocations: 57.59 kB / 0.5695 GB, free: 11.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/0.3518, allocations: 121.2 kB / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3518, allocations: 0 / 0.5696 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002806/0.3521, allocations: 161.6 kB / 0.5697 GB, free: 11.7 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.3521, allocations: 6.5 kB / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.3521, allocations: 0 / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3521, allocations: 0 / 0.5697 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003659/0.3525, allocations: 107.8 kB / 0.5698 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3525, allocations: 4 kB / 0.5698 GB, free: 11.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.617e-05/0.3526, allocations: 15.94 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.262e-05/0.3526, allocations: 4 kB / 0.5699 GB, free: 11.56 MB / 414.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 (27): * Single equations (assignments): 27 * 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.0001259/0.3527, allocations: 137.7 kB / 0.57 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.3527, allocations: 11.91 kB / 0.57 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.3528, allocations: 25.88 kB / 0.57 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-06/0.3528, allocations: 11.88 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.3528, allocations: 4 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.3528, allocations: 3.984 kB / 0.57 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003374/0.3532, allocations: 256.6 kB / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3532, allocations: 0 / 0.5703 GB, free: 11.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003392/0.3535, allocations: 95.94 kB / 0.5704 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.3535, allocations: 7.938 kB / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.3535, allocations: 4 kB / 0.5704 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.3535, allocations: 11.88 kB / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3535, allocations: 0 / 0.5704 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003604/0.3539, allocations: 271.6 kB / 0.5707 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.399e-05/0.3539, allocations: 15.84 kB / 0.5707 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.298e-05/0.3539, allocations: 8 kB / 0.5707 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.096e-05/0.354, allocations: 11.94 kB / 0.5707 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.3541, allocations: 19.95 kB / 0.5707 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.3541, allocations: 8 kB / 0.5707 GB, free: 10.6 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.816e-05/0.3542, allocations: 79.28 kB / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3542, allocations: 0 / 0.5708 GB, free: 10.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003203/0.3545, allocations: 59.78 kB / 0.5709 GB, free: 10.46 MB / 414.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 (27): * Single equations (assignments): 27 * 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.0009243/0.3554, allocations: 0.8763 MB / 0.5717 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003159/0.3557, allocations: 123.9 kB / 0.5718 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.3557, allocations: 0 / 0.5718 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001285/0.3559, allocations: 72.78 kB / 0.5719 GB, free: 9.367 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.3561, allocations: 19.88 kB / 0.5719 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002451/0.3586, allocations: 1.972 MB / 0.5738 GB, free: 7.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.359, allocations: 0.7473 MB / 0.5746 GB, free: 6.527 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.622e-05/0.3591, allocations: 21.41 kB / 0.5746 GB, free: 6.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001057/0.3592, allocations: 63.42 kB / 0.5747 GB, free: 6.445 MB / 414.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3592, allocations: 0 / 0.5747 GB, free: 6.445 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/0.3846, allocations: 2.88 MB / 0.5775 GB, free: 3.625 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.233/8.618, allocations: 4.062 kB / 0.5775 GB, free: 3.621 MB / 414.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.448731050360948] Failed to read output from testmodel.py, exit status != 0: ['time', 'ydegC', 'ydegF', 'ydegRk', 'ydeg', 'yrpm', 'ykmh', 'yday', 'yhour', 'yminute', 'ylitre', 'ykWh', 'ybar', 'ygps'] 8.693604597821832 8.718478762 8.368115698 Calling exit ...