Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.001576/0.001576, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002164/0.002164, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.391/1.391, allocations: 230.6 MB / 258.3 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 43.92 kB / 378.5 MB, free: 3.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2657, allocations: 53.36 MB / 431.8 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002785/0.2685, allocations: 1.516 MB / 433.3 MB, free: 5.133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000871/0.2694, allocations: 0.4908 MB / 433.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.2694, allocations: 0 / 433.8 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.2696, allocations: 23.86 kB / 433.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.381e-05/0.2696, allocations: 3.938 kB / 433.9 MB, free: 4.609 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001645/0.2698, allocations: 43.89 kB / 433.9 MB, free: 4.566 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.562e-05/0.2699, allocations: 59.84 kB / 434 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.27, allocations: 8 kB / 434 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.2702, allocations: 39.83 kB / 434 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.2702, allocations: 27.92 kB / 434 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.2702, allocations: 4 kB / 434 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.276e-05/0.2703, allocations: 23.92 kB / 434.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.037e-05/0.2703, allocations: 11.94 kB / 434.1 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.523e-05/0.2704, allocations: 15.92 kB / 434.1 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.2705, allocations: 76.56 kB / 434.2 MB, free: 4.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2705, allocations: 4 kB / 434.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.2706, allocations: 0 / 434.2 MB, free: 4.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.2706, allocations: 0 / 434.2 MB, free: 4.305 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006889/0.2712, allocations: 310.1 kB / 434.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2713, allocations: 12.03 kB / 434.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.412e-05/0.2713, allocations: 8.109 kB / 434.5 MB, free: 3.953 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.837e-05/0.2714, allocations: 38.69 kB / 434.5 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.2714, allocations: 8.891 kB / 434.5 MB, free: 3.898 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.2715, allocations: 114.5 kB / 434.6 MB, free: 3.762 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.2715, allocations: 4.375 kB / 434.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.2715, allocations: 384 / 434.7 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002888/0.2718, allocations: 93.45 kB / 434.7 MB, free: 3.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.2718, allocations: 7.984 kB / 434.8 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.2719, allocations: 4 kB / 434.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.2719, allocations: 0 / 434.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.2722, allocations: 79.92 kB / 434.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004637/0.2726, allocations: 275.7 kB / 435.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.2729, allocations: 66.53 kB / 435.2 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.2731, allocations: 44.94 kB / 435.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.2731, allocations: 4 kB / 435.2 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.2731, allocations: 38.56 kB / 435.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2731, allocations: 0 / 435.3 MB, free: 3.086 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005532/0.2737, allocations: 153.8 kB / 435.4 MB, free: 2.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/0.2737, allocations: 51.41 kB / 435.5 MB, free: 2.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/0.2738, allocations: 109.8 kB / 435.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.2738, allocations: 25.7 kB / 435.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.824e-05/0.2739, allocations: 96.09 kB / 435.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.2739, allocations: 15.89 kB / 435.7 MB, free: 2.605 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/0.274, allocations: 17.72 kB / 435.7 MB, free: 2.582 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.2741, allocations: 322.8 kB / 436 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.2742, allocations: 35.97 kB / 436.1 MB, free: 2.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.2744, allocations: 40.02 kB / 436.1 MB, free: 2.184 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.2747, allocations: 84.78 kB / 436.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2747, allocations: 0 / 436.2 MB, free: 2.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003248/0.275, allocations: 117.5 kB / 436.3 MB, free: 1.977 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.275, allocations: 4 kB / 436.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.275, allocations: 0 / 436.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.275, allocations: 4 kB / 436.3 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.2751, allocations: 20.36 kB / 436.3 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.2752, allocations: 3.984 kB / 436.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.151e-05/0.2752, allocations: 19.86 kB / 436.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.2752, allocations: 3.938 kB / 436.4 MB, free: 1.922 MB / 334.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 (5): * Single equations (assignments): 5 * 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.0001025/0.2753, allocations: 117.8 kB / 436.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.2754, allocations: 0 / 436.5 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003828/0.2758, allocations: 137.6 kB / 436.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2758, allocations: 0 / 436.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.2758, allocations: 0 / 436.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.2758, allocations: 7.938 kB / 436.6 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.276, allocations: 152.7 kB / 436.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.276, allocations: 0 / 436.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.2761, allocations: 19.98 kB / 436.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.2761, allocations: 0 / 436.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.2761, allocations: 8 kB / 436.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2761, allocations: 0 / 436.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2761, allocations: 192 / 436.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.2765, allocations: 219.3 kB / 437 MB, free: 1.195 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.2765, allocations: 7.953 kB / 437 MB, free: 1.188 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.792e-05/0.2765, allocations: 4 kB / 437 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.2766, allocations: 11.98 kB / 437 MB, free: 1.172 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.2766, allocations: 15.98 kB / 437 MB, free: 1.156 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.2767, allocations: 3.938 kB / 437 MB, free: 1.152 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.766e-05/0.2767, allocations: 91.27 kB / 437.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2767, allocations: 0 / 437.1 MB, free: 1.062 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.2769, allocations: 8 kB / 437.1 MB, free: 1.055 MB / 334.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 (7): * Single equations (assignments): 7 * 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.0007117/0.2776, allocations: 0.7592 MB / 437.9 MB, free: 276 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003381/0.278, allocations: 83.91 kB / 438 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.278, allocations: 0 / 438 MB, free: 192 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.2781, allocations: 43.91 kB / 438 MB, free: 148 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.2785, allocations: 23.86 kB / 438 MB, free: 124 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.279, allocations: 183.9 kB / 438.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.028e-05/0.2791, allocations: 71.61 kB / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.988e-05/0.2791, allocations: 4 kB / 438.3 MB, free: 15.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.184e-05/0.2792, allocations: 23.42 kB / 438.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2792, allocations: 3.938 kB / 438.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.301, allocations: 2.249 MB / 440.6 MB, free: 13.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.74, allocations: 14.28 kB / 440.6 MB, free: 13.68 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.055459404946305] Failed to read output from testmodel.py, exit status != 0: ['time', 'len.y', 'phi.y'] 10.891600258997642 10.907148108 10.633653386 Calling exit ...