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.001837/0.001837, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.00221/0.00221, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 8.07 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-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.00307/0.00307, allocations: 64.77 kB / 378.5 MB, free: 3.223 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.367, allocations: 53.38 MB / 431.9 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003095/0.3701, allocations: 1.535 MB / 433.4 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.3712, allocations: 0.5414 MB / 434 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.49e-05/0.3712, allocations: 0 / 434 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001246/0.3713, allocations: 15.92 kB / 434 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.892e-05/0.3714, allocations: 11.86 kB / 434 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001819/0.3716, allocations: 39.91 kB / 434 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000112/0.3717, allocations: 59.78 kB / 434.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.3718, allocations: 18.09 kB / 434.1 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.372, allocations: 31.91 kB / 434.1 MB, free: 4.688 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.849e-05/0.3721, allocations: 27.86 kB / 434.2 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.3721, allocations: 12 kB / 434.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.977e-05/0.3722, allocations: 23.92 kB / 434.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.3722, allocations: 7.938 kB / 434.2 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.3723, allocations: 35.84 kB / 434.2 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001761/0.3724, allocations: 71.72 kB / 434.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.3725, allocations: 0 / 434.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3725, allocations: 0 / 434.3 MB, free: 4.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.3725, allocations: 0 / 434.3 MB, free: 4.512 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.0007118/0.3732, allocations: 310.1 kB / 434.6 MB, free: 4.18 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.3732, allocations: 8.031 kB / 434.6 MB, free: 4.172 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.794e-05/0.3733, allocations: 42.75 kB / 434.7 MB, free: 4.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.3733, allocations: 8.891 kB / 434.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.3735, allocations: 114.5 kB / 434.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.101e-05/0.3735, allocations: 384 / 434.8 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3736, allocations: 8.312 kB / 434.8 MB, free: 3.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000318/0.3739, allocations: 85.77 kB / 434.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.3739, allocations: 4 kB / 434.9 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.3739, allocations: 4 kB / 434.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3739, allocations: 0 / 434.9 MB, free: 3.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003203/0.3742, allocations: 79.86 kB / 435 MB, free: 3.793 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005708/0.3748, allocations: 279.8 kB / 435.2 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.3751, allocations: 74.56 kB / 435.3 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.3753, allocations: 48.94 kB / 435.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3753, allocations: 0 / 435.4 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.508e-05/0.3753, allocations: 30.56 kB / 435.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3753, allocations: 4 kB / 435.4 MB, free: 3.301 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006333/0.376, allocations: 153.5 kB / 435.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.376, allocations: 55.34 kB / 435.6 MB, free: 3.078 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.3762, allocations: 113.8 kB / 435.7 MB, free: 2.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.3762, allocations: 25.7 kB / 435.7 MB, free: 2.926 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/0.3763, allocations: 100.1 kB / 435.8 MB, free: 2.824 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.3763, allocations: 11.91 kB / 435.8 MB, free: 2.812 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.755e-05/0.3764, allocations: 17.72 kB / 435.9 MB, free: 2.789 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000227/0.3766, allocations: 322.8 kB / 436.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/0.3768, allocations: 35.97 kB / 436.2 MB, free: 2.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3769, allocations: 39.95 kB / 436.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.3772, allocations: 80.78 kB / 436.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.3772, allocations: 0 / 436.3 MB, free: 2.309 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000342/0.3775, allocations: 113.5 kB / 436.4 MB, free: 2.191 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.3775, allocations: 8 kB / 436.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3776, allocations: 448 / 436.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.3776, allocations: 0 / 436.4 MB, free: 2.184 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001598/0.3777, allocations: 23.97 kB / 436.5 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3777, allocations: 4 kB / 436.5 MB, free: 2.156 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.03e-05/0.3778, allocations: 15.92 kB / 436.5 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.3778, allocations: 7.938 kB / 436.5 MB, free: 2.133 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.0001233/0.378, allocations: 117.8 kB / 436.6 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.378, allocations: 4 kB / 436.6 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.3784, allocations: 137.6 kB / 436.7 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3784, allocations: 3.938 kB / 436.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.3784, allocations: 0 / 436.8 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3784, allocations: 3.984 kB / 436.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.3786, allocations: 160.6 kB / 436.9 MB, free: 1.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3786, allocations: 4 kB / 436.9 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.3787, allocations: 23.97 kB / 436.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3787, allocations: 0 / 436.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.3788, allocations: 0 / 436.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3788, allocations: 0 / 436.9 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3788, allocations: 4 kB / 436.9 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004104/0.3792, allocations: 223.4 kB / 437.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.289e-05/0.3792, allocations: 7.953 kB / 437.2 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.3792, allocations: 3.938 kB / 437.2 MB, free: 1.375 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.3793, allocations: 11.98 kB / 437.2 MB, free: 1.363 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.646e-05/0.3793, allocations: 7.984 kB / 437.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.623e-06/0.3794, allocations: 4 kB / 437.2 MB, free: 1.352 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.643e-05/0.3794, allocations: 95.52 kB / 437.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3794, allocations: 4 kB / 437.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.3796, allocations: 12 kB / 437.3 MB, free: 1.242 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.0007788/0.3804, allocations: 0.7476 MB / 438.1 MB, free: 480 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003464/0.3808, allocations: 91.84 kB / 438.1 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3808, allocations: 0 / 438.1 MB, free: 388 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.3809, allocations: 43.95 kB / 438.2 MB, free: 344 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.3813, allocations: 11.94 kB / 438.2 MB, free: 332 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.3818, allocations: 195.8 kB / 438.4 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003507/0.3822, allocations: 0.6885 MB / 439.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.131e-05/0.3822, allocations: 0 / 439.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.168e-05/0.3822, allocations: 27.44 kB / 439.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3822, allocations: 0 / 439.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02512/0.4074, allocations: 2.054 MB / 441.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.136/8.543, allocations: 4 kB / 441.2 MB, free: 13.39 MB / 350.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 11.13895792234689] Failed to read output from testmodel.py, exit status != 0: ['time', 'len.y', 'phi.y'] 8.614038437139243 8.631940904 8.256059365 Calling exit ...