Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.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.001305/0.001305, allocations: 122.5 kB / 18.51 MB, free: 4.52 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.001439/0.001439, allocations: 215.2 kB / 21.46 MB, free: 1.566 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.431/1.431, allocations: 230.5 MB / 254.8 MB, free: 15.09 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.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AD_DA_conversion",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.002/0.002, allocations: 67.84 kB / 373.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1104, allocations: 53.32 MB / 427 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004332/0.1147, allocations: 2.386 MB / 429.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001646/0.1164, allocations: 0.7517 MB / 430.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.1165, allocations: 7.938 kB / 430.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.1167, allocations: 31.7 kB / 430.2 MB, free: 1.574 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.1169, allocations: 47.52 kB / 430.2 MB, free: 1.527 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005177/0.1174, allocations: 115.7 kB / 430.4 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004203/0.1178, allocations: 263 kB / 430.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.1181, allocations: 87.05 kB / 430.7 MB, free: 1.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002757/0.1183, allocations: 123.6 kB / 430.8 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001831/0.1185, allocations: 107.6 kB / 430.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.722e-05/0.1186, allocations: 24 kB / 430.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.216e-05/0.1186, allocations: 28 kB / 431 MB, free: 0.793 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.1187, allocations: 51.78 kB / 431 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.1189, allocations: 127.4 kB / 431.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003796/0.1192, allocations: 286.8 kB / 431.4 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1192, allocations: 0 / 431.4 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1192, allocations: 0 / 431.4 MB, free: 344 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.1193, allocations: 0 / 431.4 MB, free: 344 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.2085/0.3278, allocations: 0.6703 MB / 432.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.3278, allocations: 10.02 kB / 432.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.74e-05/0.3279, allocations: 56.2 kB / 432.2 MB, free: 11.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002153/0.3281, allocations: 40.55 kB / 432.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.3284, allocations: 247.5 kB / 432.4 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-05/0.3285, allocations: 54.42 kB / 432.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.3286, allocations: 27.47 kB / 432.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005649/0.3291, allocations: 258 kB / 432.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3291, allocations: 0 / 432.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.3292, allocations: 8.312 kB / 432.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.3292, allocations: 4.062 kB / 432.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004786/0.3296, allocations: 203.1 kB / 433 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/0.3307, allocations: 0.7633 MB / 433.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004876/0.3312, allocations: 262 kB / 434 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.3316, allocations: 187.8 kB / 434.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3316, allocations: 2.188 kB / 434.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004327/0.332, allocations: 310.2 kB / 434.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.403e-06/0.332, allocations: 3.562 kB / 434.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001035/0.3331, allocations: 0.5841 MB / 435.1 MB, free: 10.14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.891e-05/0.3331, allocations: 201.2 kB / 435.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3333, allocations: 186.7 kB / 435.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.542e-05/0.3333, allocations: 36.38 kB / 435.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.615e-05/0.3333, allocations: 134.8 kB / 435.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.956e-05/0.3334, allocations: 85.08 kB / 435.7 MB, free: 9.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.3335, allocations: 68.59 kB / 435.8 MB, free: 9.629 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.825e-05/0.3335, allocations: 336.5 kB / 436.1 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002197/0.3337, allocations: 110.9 kB / 436.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.334, allocations: 169.4 kB / 436.4 MB, free: 9.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004457/0.3344, allocations: 407 kB / 436.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3344, allocations: 6.469 kB / 436.8 MB, free: 8.914 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006126/0.3351, allocations: 445.1 kB / 437.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.3351, allocations: 92.73 kB / 437.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3351, allocations: 2.125 kB / 437.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.3351, allocations: 6.688 kB / 437.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.3353, allocations: 42.41 kB / 437.4 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3353, allocations: 9.844 kB / 437.4 MB, free: 8.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.3355, allocations: 37.12 kB / 437.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.255e-05/0.3355, allocations: 13.78 kB / 437.4 MB, free: 8.566 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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.0001873/0.3357, allocations: 240.4 kB / 437.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.21e-05/0.3357, allocations: 30.38 kB / 437.7 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.875e-05/0.3358, allocations: 27.64 kB / 437.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3358, allocations: 2.781 kB / 437.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3358, allocations: 0 / 437.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3358, allocations: 1.406 kB / 437.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001264/0.3371, allocations: 0.9415 MB / 438.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3371, allocations: 0 / 438.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.3372, allocations: 24.55 kB / 438.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.3372, allocations: 1.25 kB / 438.7 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.3372, allocations: 10.98 kB / 438.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3372, allocations: 2.969 kB / 438.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3372, allocations: 3.609 kB / 438.7 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000882/0.3381, allocations: 0.6163 MB / 439.3 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.19e-05/0.3381, allocations: 101 kB / 439.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.8e-05/0.3382, allocations: 19.88 kB / 439.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.3384, allocations: 22.52 kB / 439.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.096e-05/0.3385, allocations: 20.97 kB / 439.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.3385, allocations: 14.44 kB / 439.5 MB, free: 7.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.19e-05/0.3386, allocations: 136.9 kB / 439.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3386, allocations: 0 / 439.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.3389, allocations: 78.84 kB / 439.7 MB, free: 7.199 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * 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.001107/0.34, allocations: 1.179 MB / 440.9 MB, free: 6.336 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00075/0.3408, allocations: 0.5175 MB / 441.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.594e-06/0.3408, allocations: 1.281 kB / 441.4 MB, free: 6.055 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004109/0.3412, allocations: 327.8 kB / 441.7 MB, free: 5.871 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/0.3419, allocations: 144 kB / 441.9 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003459/0.3454, allocations: 2.934 MB / 444.8 MB, free: 3.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.3455, allocations: 0.7409 MB / 445.5 MB, free: 3.234 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.3457, allocations: 57.75 kB / 445.6 MB, free: 3.227 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.817e-05/0.3458, allocations: 66.33 kB / 445.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3458, allocations: 1.125 kB / 445.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.3758, allocations: 6.603 MB / 452.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.927/8.303, allocations: 5.062 kB / 452.3 MB, free: 1.961 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.57079e-05 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 10.726488003972918] Failed to read output from testmodel.py, exit status != 0: ['time', 'aD_Converter.z', 'pulse.T0', 'pulse.np'] 8.372878465801477 8.397187284 8.273445519 Calling exit ...