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.001514/0.001514, allocations: 101.5 kB / 21.21 MB, free: 0.6523 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.001524/0.001524, allocations: 188.4 kB / 24.49 MB, free: 3.957 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.348/1.348, allocations: 225.7 MB / 253.3 MB, free: 12.86 MB / 206.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.001404/0.001404, allocations: 47.92 kB / 371.1 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2377, allocations: 52.19 MB / 423.3 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002758/0.2404, allocations: 1.507 MB / 424.8 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008255/0.2413, allocations: 466.7 kB / 425.3 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.949e-05/0.2413, allocations: 4 kB / 425.3 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.2414, allocations: 15.94 kB / 425.3 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.2415, allocations: 15.81 kB / 425.3 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001708/0.2416, allocations: 43.89 kB / 425.4 MB, free: 12.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.695e-05/0.2417, allocations: 51.84 kB / 425.4 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.692e-05/0.2418, allocations: 18.09 kB / 425.4 MB, free: 12.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.2419, allocations: 27.91 kB / 425.5 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.632e-05/0.242, allocations: 35.84 kB / 425.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.536e-05/0.242, allocations: 4 kB / 425.5 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.539e-05/0.2421, allocations: 20 kB / 425.5 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.203e-05/0.2421, allocations: 11.94 kB / 425.5 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.2421, allocations: 15.92 kB / 425.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.2423, allocations: 75.66 kB / 425.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2423, allocations: 0 / 425.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2423, allocations: 0 / 425.6 MB, free: 12.14 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.2423, allocations: 0 / 425.6 MB, free: 12.14 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.0006013/0.2429, allocations: 310.1 kB / 425.9 MB, free: 11.81 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.2429, allocations: 12.03 kB / 425.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.452e-05/0.2429, allocations: 4.188 kB / 425.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.375e-05/0.243, allocations: 30.75 kB / 426 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.243, allocations: 8.891 kB / 426 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.2431, allocations: 126.4 kB / 426.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.2431, allocations: 4.375 kB / 426.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.2431, allocations: 384 / 426.1 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.2434, allocations: 89.58 kB / 426.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.2434, allocations: 0 / 426.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.2434, allocations: 4 kB / 426.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2434, allocations: 4 kB / 426.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003034/0.2437, allocations: 83.8 kB / 426.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004349/0.2442, allocations: 275.8 kB / 426.5 MB, free: 11.1 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.2444, allocations: 66.56 kB / 426.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/0.2446, allocations: 52.94 kB / 426.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.903e-05/0.2446, allocations: 0 / 426.7 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.751e-05/0.2446, allocations: 30.56 kB / 426.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.2446, allocations: 0 / 426.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005452/0.2452, allocations: 157.5 kB / 426.8 MB, free: 10.77 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.2452, allocations: 51.41 kB / 426.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.2453, allocations: 113.8 kB / 427 MB, free: 10.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.2453, allocations: 25.7 kB / 427 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.2454, allocations: 92.12 kB / 427.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.2454, allocations: 15.86 kB / 427.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.2454, allocations: 17.72 kB / 427.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.2456, allocations: 322.8 kB / 427.5 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.2457, allocations: 35.97 kB / 427.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.2459, allocations: 40.33 kB / 427.5 MB, free: 10.03 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002695/0.2461, allocations: 80.78 kB / 427.6 MB, free: 9.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.2461, allocations: 0 / 427.6 MB, free: 9.945 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003294/0.2465, allocations: 117.9 kB / 427.7 MB, free: 9.824 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.2465, allocations: 7.938 kB / 427.7 MB, free: 9.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2465, allocations: 4.062 kB / 427.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.2465, allocations: 0 / 427.8 MB, free: 9.812 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.2466, allocations: 23.97 kB / 427.8 MB, free: 9.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.2466, allocations: 3.984 kB / 427.8 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/0.2467, allocations: 19.86 kB / 427.8 MB, free: 9.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.2467, allocations: 0 / 427.8 MB, free: 9.766 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 8.289e-05/0.2468, allocations: 117.8 kB / 427.9 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.451e-05/0.2468, allocations: 3.953 kB / 427.9 MB, free: 9.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003752/0.2472, allocations: 133.6 kB / 428 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.2472, allocations: 0 / 428 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.2472, allocations: 0 / 428 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2472, allocations: 7.938 kB / 428.1 MB, free: 9.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001985/0.2474, allocations: 148.7 kB / 428.2 MB, free: 9.301 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2474, allocations: 4 kB / 428.2 MB, free: 9.297 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.2475, allocations: 23.92 kB / 428.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2475, allocations: 0 / 428.2 MB, free: 9.273 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.2476, allocations: 4 kB / 428.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.2476, allocations: 0 / 428.2 MB, free: 9.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.2476, allocations: 3.984 kB / 428.2 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/0.2479, allocations: 219.4 kB / 428.5 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.254e-05/0.248, allocations: 11.95 kB / 428.5 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.248, allocations: 0 / 428.5 MB, free: 9.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.2481, allocations: 15.97 kB / 428.5 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.634e-05/0.2481, allocations: 15.92 kB / 428.5 MB, free: 8.992 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.2481, allocations: 3.938 kB / 428.5 MB, free: 8.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.695e-05/0.2482, allocations: 87.28 kB / 428.6 MB, free: 8.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2482, allocations: 0 / 428.6 MB, free: 8.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002146/0.2484, allocations: 8 kB / 428.6 MB, free: 8.895 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.0006922/0.2491, allocations: 0.7554 MB / 429.3 MB, free: 8.113 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003227/0.2494, allocations: 87.84 kB / 429.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2494, allocations: 288 / 429.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001556/0.2496, allocations: 47.95 kB / 429.5 MB, free: 7.98 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002815/0.2499, allocations: 22.31 kB / 429.5 MB, free: 7.961 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.2503, allocations: 187.8 kB / 429.7 MB, free: 7.738 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.71e-05/0.2504, allocations: 75.19 kB / 429.8 MB, free: 7.645 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.011e-05/0.2504, allocations: 8 kB / 429.8 MB, free: 7.637 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.2505, allocations: 23.42 kB / 429.8 MB, free: 7.613 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.2505, allocations: 0 / 429.8 MB, free: 7.613 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.2721, allocations: 2.25 MB / 432 MB, free: 5.512 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.41/10.69, allocations: 4.891 kB / 432 MB, free: 5.512 MB / 334.1 MB " [Timeout remaining time 649] (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: 12.962205113028176] Failed to read output from testmodel.py, exit status != 0: ['time', 'len.y', 'phi.y'] 10.844395376974717 10.862220548 10.616522134 Calling exit ...