Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 112.2 kB / 21.22 MB, free: 0.7305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 212.2 kB / 24.53 MB, free: 4.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.378/1.378, allocations: 230.6 MB / 258.3 MB, free: 8.02 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 43.94 kB / 378.6 MB, free: 3.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2585, allocations: 53.37 MB / 431.9 MB, free: 6.832 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003662/0.2621, allocations: 2.41 MB / 434.3 MB, free: 4.414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.2636, allocations: 0.7478 MB / 435.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.2637, allocations: 4 kB / 435.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000153/0.2638, allocations: 31.64 kB / 435.1 MB, free: 3.625 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.2639, allocations: 59.5 kB / 435.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.2643, allocations: 103.8 kB / 435.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.2646, allocations: 275 kB / 435.5 MB, free: 3.195 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.2648, allocations: 72.38 kB / 435.6 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002464/0.2651, allocations: 123.6 kB / 435.7 MB, free: 3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.2652, allocations: 119.4 kB / 435.9 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.2653, allocations: 24 kB / 435.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.668e-05/0.2653, allocations: 31.98 kB / 435.9 MB, free: 2.828 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.2654, allocations: 55.83 kB / 436 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.2655, allocations: 119.4 kB / 436.1 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003499/0.2659, allocations: 290.8 kB / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2659, allocations: 0 / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.2659, allocations: 0 / 436.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.2659, allocations: 0 / 436.4 MB, free: 2.371 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0009996/0.2669, allocations: 0.604 MB / 437 MB, free: 1.719 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2669, allocations: 8.031 kB / 437 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.806e-05/0.2669, allocations: 7.969 kB / 437 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.864e-05/0.267, allocations: 54.73 kB / 437 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.2672, allocations: 40.73 kB / 437.1 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003218/0.2675, allocations: 186.1 kB / 437.3 MB, free: 1.395 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.222e-05/0.2676, allocations: 75.95 kB / 437.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.2676, allocations: 32.06 kB / 437.4 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005548/0.2682, allocations: 252.1 kB / 437.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2682, allocations: 0 / 437.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.2682, allocations: 8 kB / 437.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.2682, allocations: 4 kB / 437.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004822/0.2687, allocations: 204.3 kB / 437.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.27, allocations: 0.7241 MB / 438.5 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005739/0.2706, allocations: 259.2 kB / 438.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004071/0.271, allocations: 196.9 kB / 439 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.271, allocations: 0 / 439 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005207/0.2715, allocations: 322.3 kB / 439.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.252e-06/0.2715, allocations: 0 / 439.3 MB, free: 15.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001189/0.2727, allocations: 0.5801 MB / 439.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.2728, allocations: 199.9 kB / 440.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.273, allocations: 186.7 kB / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.68e-05/0.2731, allocations: 37.7 kB / 440.3 MB, free: 14.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2732, allocations: 140.8 kB / 440.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.2732, allocations: 83.36 kB / 440.5 MB, free: 13.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.2733, allocations: 66.03 kB / 440.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.2735, allocations: 334.8 kB / 440.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002374/0.2737, allocations: 112.6 kB / 441 MB, free: 13.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.274, allocations: 171.1 kB / 441.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006215/0.2746, allocations: 418.7 kB / 441.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2746, allocations: 0 / 441.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007128/0.2753, allocations: 438.3 kB / 442 MB, free: 12.31 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.331e-05/0.2754, allocations: 97.12 kB / 442.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.2754, allocations: 4 kB / 442.1 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.2754, allocations: 4 kB / 442.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001975/0.2756, allocations: 43.91 kB / 442.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.2756, allocations: 0 / 442.2 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.2758, allocations: 39.77 kB / 442.2 MB, free: 12.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.2759, allocations: 12 kB / 442.2 MB, free: 12.1 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.0002531/0.2761, allocations: 239.8 kB / 442.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.884e-05/0.2762, allocations: 27.98 kB / 442.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.634e-05/0.2762, allocations: 22.66 kB / 442.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2762, allocations: 11.92 kB / 442.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.2762, allocations: 0 / 442.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2762, allocations: 0 / 442.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001392/0.2776, allocations: 0.9151 MB / 443.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.2776, allocations: 0 / 443.4 MB, free: 10.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.2777, allocations: 19.98 kB / 443.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-06/0.2777, allocations: 4 kB / 443.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.697e-05/0.2777, allocations: 12.03 kB / 443.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.2778, allocations: 3.984 kB / 443.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2778, allocations: 0 / 443.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009375/0.2787, allocations: 0.6236 MB / 444.1 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.2787, allocations: 19.8 kB / 444.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.913e-05/0.2788, allocations: 23.98 kB / 444.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002041/0.279, allocations: 15.98 kB / 444.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.662e-05/0.2791, allocations: 27.89 kB / 444.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-05/0.2791, allocations: 12 kB / 444.2 MB, free: 10.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001084/0.2792, allocations: 131.2 kB / 444.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2792, allocations: 4 kB / 444.3 MB, free: 9.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003329/0.2795, allocations: 79.92 kB / 444.4 MB, free: 9.801 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.001306/0.2809, allocations: 1.187 MB / 445.6 MB, free: 8.574 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008178/0.2817, allocations: 0.5153 MB / 446.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2817, allocations: 0 / 446.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000454/0.2821, allocations: 321.7 kB / 446.4 MB, free: 7.688 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.2828, allocations: 149.4 kB / 446.6 MB, free: 7.555 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.2867, allocations: 2.944 MB / 449.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.2871, allocations: 0.7522 MB / 450.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001618/0.2872, allocations: 57.86 kB / 450.3 MB, free: 3.645 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.2873, allocations: 63.42 kB / 450.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2873, allocations: 0 / 450.4 MB, free: 3.582 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.3157, allocations: 6.913 MB / 457.3 MB, free: 12.86 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.87, allocations: 11.72 kB / 457.3 MB, free: 12.86 MB / 366.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.12876293901354] Failed to read output from testmodel.py, exit status != 0: ['time', 'aD_Converter.z', 'pulse.T0', 'pulse.np'] 11.026029763976112 11.046292519 10.777325476 Calling exit ...