Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 110 kB / 18.49 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 198.6 kB / 21.43 MB, free: 1.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.5/1.5, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 47.94 kB / 366.3 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1287, allocations: 52.15 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003075/0.1318, allocations: 1.5 MB / 420 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009578/0.1327, allocations: 0.5025 MB / 420.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.1328, allocations: 0 / 420.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.1329, allocations: 19.86 kB / 420.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 8.759e-05/0.133, allocations: 11.88 kB / 420.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.1332, allocations: 39.91 kB / 420.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.1333, allocations: 59.83 kB / 420.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001149/0.1334, allocations: 11.98 kB / 420.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.1336, allocations: 27.92 kB / 420.6 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.886e-05/0.1336, allocations: 35.78 kB / 420.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.1337, allocations: 7.984 kB / 420.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.245e-05/0.1337, allocations: 20 kB / 420.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.1338, allocations: 15.92 kB / 420.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.1338, allocations: 19.88 kB / 420.7 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.134, allocations: 71.72 kB / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.134, allocations: 0 / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.134, allocations: 0 / 420.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.134, allocations: 7.938 kB / 420.8 MB, free: 10.26 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007615/0.1347, allocations: 383.2 kB / 421.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.1348, allocations: 8.031 kB / 421.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.311e-05/0.1348, allocations: 8.109 kB / 421.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.108e-05/0.1349, allocations: 38.75 kB / 421.2 MB, free: 9.777 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.1349, allocations: 4.891 kB / 421.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001802/0.1351, allocations: 168.3 kB / 421.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.1351, allocations: 8.375 kB / 421.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.064e-05/0.1351, allocations: 8.359 kB / 421.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002984/0.1354, allocations: 93.52 kB / 421.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1354, allocations: 0 / 421.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1354, allocations: 0 / 421.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1354, allocations: 0 / 421.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003361/0.1358, allocations: 87.91 kB / 421.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004973/0.1363, allocations: 312.6 kB / 421.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.1365, allocations: 62.53 kB / 422 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001771/0.1367, allocations: 52.94 kB / 422 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.1367, allocations: 3.984 kB / 422 MB, free: 8.887 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1367, allocations: 30.56 kB / 422 MB, free: 8.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1367, allocations: 0 / 422 MB, free: 8.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006129/0.1374, allocations: 157.6 kB / 422.2 MB, free: 8.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.659e-05/0.1374, allocations: 51.41 kB / 422.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.877e-05/0.1375, allocations: 113.8 kB / 422.4 MB, free: 8.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.727e-05/0.1375, allocations: 25.7 kB / 422.4 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.167e-05/0.1376, allocations: 88.14 kB / 422.5 MB, free: 8.383 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.1376, allocations: 24.16 kB / 422.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.1377, allocations: 21.72 kB / 422.5 MB, free: 8.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1378, allocations: 322.8 kB / 422.8 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.138, allocations: 35.97 kB / 422.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001699/0.1382, allocations: 43.83 kB / 422.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.1385, allocations: 88.72 kB / 423 MB, free: 7.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1385, allocations: 4 kB / 423 MB, free: 7.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003419/0.1388, allocations: 101.6 kB / 423.1 MB, free: 7.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1388, allocations: 8 kB / 423.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1388, allocations: 0 / 423.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.1389, allocations: 0 / 423.1 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.139, allocations: 19.98 kB / 423.1 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.139, allocations: 11.97 kB / 423.1 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.679e-05/0.1391, allocations: 15.92 kB / 423.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1391, allocations: 0 / 423.2 MB, free: 7.676 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 (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 9.622e-05/0.1392, allocations: 113.8 kB / 423.3 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.015e-05/0.1392, allocations: 7.953 kB / 423.3 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004316/0.1397, allocations: 137.5 kB / 423.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1397, allocations: 448 / 423.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1397, allocations: 0 / 423.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.1397, allocations: 3.938 kB / 423.4 MB, free: 7.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002262/0.1399, allocations: 189.6 kB / 423.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1399, allocations: 0 / 423.6 MB, free: 7.164 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.14, allocations: 19.97 kB / 423.6 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.14, allocations: 4 kB / 423.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/0.14, allocations: 0 / 423.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.14, allocations: 4 kB / 423.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.14, allocations: 0 / 423.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000444/0.1405, allocations: 227.3 kB / 423.8 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.1405, allocations: 81.06 kB / 423.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.472e-05/0.1405, allocations: 0 / 423.9 MB, free: 6.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.1407, allocations: 15.98 kB / 423.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.747e-05/0.1407, allocations: 11.98 kB / 424 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.043e-06/0.1407, allocations: 3.938 kB / 424 MB, free: 6.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.48e-05/0.1408, allocations: 87.28 kB / 424 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1408, allocations: 0 / 424 MB, free: 6.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002258/0.141, allocations: 15.92 kB / 424.1 MB, free: 6.668 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 (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.000844/0.1419, allocations: 0.7633 MB / 424.8 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000403/0.1423, allocations: 91.86 kB / 424.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1423, allocations: 0 / 424.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.1424, allocations: 51.83 kB / 425 MB, free: 5.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003165/0.1428, allocations: 13.83 kB / 425 MB, free: 5.727 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000535/0.1433, allocations: 191.7 kB / 425.2 MB, free: 5.5 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004682/0.1438, allocations: 0.6883 MB / 425.9 MB, free: 4.785 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.154e-05/0.1438, allocations: 7.984 kB / 425.9 MB, free: 4.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.629e-05/0.1438, allocations: 15.44 kB / 425.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1438, allocations: 0 / 425.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01886/0.1627, allocations: 2.072 MB / 427.9 MB, free: 2.801 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.35, allocations: 11.11 kB / 428 MB, free: 2.793 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.0.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.857621933042537] Failed to read output from testmodel.py, exit status != 0: ['time', 'len.y', 'phi.y'] 8.472344776033424 8.486863765 8.349852815 Calling exit ...