Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.001441/0.001441, allocations: 109.7 kB / 19.74 MB, free: 2.586 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.00165/0.00165, allocations: 222.3 kB / 22.92 MB, free: 5.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.311/1.311, allocations: 230.4 MB / 256.4 MB, free: 8.328 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex 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. Warning: Requested package ModelicaServices 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.00186/0.00186, allocations: 63.89 kB / 376 MB, free: 4.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2346/0.2365, allocations: 53.31 MB / 429.4 MB, free: 7.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002615/0.2391, allocations: 1.543 MB / 430.9 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000852/0.24, allocations: 0.5336 MB / 431.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.902e-05/0.24, allocations: 0 / 431.4 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.2401, allocations: 23.84 kB / 431.5 MB, free: 5.387 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.93e-05/0.2402, allocations: 7.875 kB / 431.5 MB, free: 5.379 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.2403, allocations: 39.91 kB / 431.5 MB, free: 5.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.841e-05/0.2404, allocations: 59.84 kB / 431.6 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.093e-05/0.2405, allocations: 11.98 kB / 431.6 MB, free: 5.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001603/0.2407, allocations: 35.84 kB / 431.6 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.369e-05/0.2407, allocations: 31.84 kB / 431.6 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.2407, allocations: 8 kB / 431.6 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.841e-05/0.2408, allocations: 20 kB / 431.7 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.2408, allocations: 7.984 kB / 431.7 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.218e-05/0.2408, allocations: 23.86 kB / 431.7 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.241, allocations: 80.08 kB / 431.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.241, allocations: 0 / 431.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.241, allocations: 0 / 431.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.241, allocations: 3.938 kB / 431.8 MB, free: 5.066 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.0006169/0.2416, allocations: 391.2 kB / 432.2 MB, free: 4.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2417, allocations: 8.031 kB / 432.2 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.624e-05/0.2417, allocations: 34.73 kB / 432.2 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.2417, allocations: 8.891 kB / 432.2 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.2419, allocations: 168.3 kB / 432.4 MB, free: 4.375 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.2419, allocations: 4.375 kB / 432.4 MB, free: 4.371 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.528e-06/0.2419, allocations: 4.375 kB / 432.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.2421, allocations: 89.7 kB / 432.5 MB, free: 4.273 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.535e-06/0.2421, allocations: 4 kB / 432.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.2422, allocations: 0 / 432.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.2422, allocations: 4 kB / 432.5 MB, free: 4.266 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003131/0.2425, allocations: 87.84 kB / 432.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.2429, allocations: 300.7 kB / 432.9 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.2431, allocations: 74.53 kB / 432.9 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.2433, allocations: 48.97 kB / 433 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.2433, allocations: 0 / 433 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.2433, allocations: 34.56 kB / 433 MB, free: 3.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.92e-07/0.2433, allocations: 4 kB / 433 MB, free: 3.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005422/0.2438, allocations: 145.5 kB / 433.2 MB, free: 3.508 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.517e-05/0.2439, allocations: 55.41 kB / 433.2 MB, free: 3.441 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.839e-05/0.2439, allocations: 109.8 kB / 433.3 MB, free: 3.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.244, allocations: 34.08 kB / 433.4 MB, free: 3.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.244, allocations: 88.09 kB / 433.4 MB, free: 3.195 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.244, allocations: 19.88 kB / 433.5 MB, free: 3.176 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.705e-05/0.2441, allocations: 21.66 kB / 433.5 MB, free: 3.148 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2442, allocations: 326.7 kB / 433.8 MB, free: 2.82 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.2444, allocations: 36.2 kB / 433.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.2445, allocations: 47.95 kB / 433.9 MB, free: 2.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002873/0.2448, allocations: 72.8 kB / 434 MB, free: 2.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2448, allocations: 0 / 434 MB, free: 2.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003343/0.2451, allocations: 121.6 kB / 434.1 MB, free: 2.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2451, allocations: 4 kB / 434.1 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2451, allocations: 4 kB / 434.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.2452, allocations: 0 / 434.1 MB, free: 2.531 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.2453, allocations: 19.92 kB / 434.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.2453, allocations: 0 / 434.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.907e-05/0.2454, allocations: 15.92 kB / 434.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.2454, allocations: 7.922 kB / 434.1 MB, free: 2.488 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.22e-05/0.2455, allocations: 117.8 kB / 434.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.2455, allocations: 0 / 434.2 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.2459, allocations: 125.6 kB / 434.4 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2459, allocations: 4 kB / 434.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2459, allocations: 7.922 kB / 434.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2459, allocations: 0 / 434.4 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.2461, allocations: 193.5 kB / 434.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2461, allocations: 0 / 434.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/0.2462, allocations: 27.91 kB / 434.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.2462, allocations: 0 / 434.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2462, allocations: 4 kB / 434.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2462, allocations: 0 / 434.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2462, allocations: 0 / 434.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003824/0.2466, allocations: 219.5 kB / 434.8 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.776e-05/0.2466, allocations: 93.22 kB / 434.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.687e-05/0.2467, allocations: 8 kB / 434.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.2468, allocations: 11.98 kB / 434.9 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.2468, allocations: 3.984 kB / 434.9 MB, free: 1.582 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2468, allocations: 8 kB / 434.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.857e-05/0.2468, allocations: 95.16 kB / 435 MB, free: 1.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2468, allocations: 288 / 435 MB, free: 1.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002127/0.2471, allocations: 12 kB / 435 MB, free: 1.469 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.0006719/0.2477, allocations: 0.7514 MB / 435.8 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003512/0.2481, allocations: 91.83 kB / 435.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.2481, allocations: 0 / 435.9 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.2482, allocations: 51.95 kB / 435.9 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.2485, allocations: 11.94 kB / 435.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004465/0.249, allocations: 183.6 kB / 436.1 MB, free: 328 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003017/0.2493, allocations: 0.6912 MB / 436.8 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.925e-05/0.2493, allocations: 4 kB / 436.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.2494, allocations: 31.36 kB / 436.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2494, allocations: 0 / 436.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02449/0.2739, allocations: 1.998 MB / 438.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.107/7.381, allocations: 16.52 kB / 438.9 MB, free: 13.64 MB / 350.1 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 9.496235664002597]