Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.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.001347/0.001347, allocations: 121.2 kB / 18.5 MB, free: 4.578 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.001479/0.001479, allocations: 206.6 kB / 21.45 MB, free: 1.629 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.507/1.507, allocations: 230.5 MB / 254.8 MB, free: 14.92 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.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",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.001954/0.001954, allocations: 75.77 kB / 373.7 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1285, allocations: 53.32 MB / 427 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.004761/0.1333, allocations: 3.25 MB / 430.3 MB, free: 1.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002229/0.1355, allocations: 1.04 MB / 431.3 MB, free: 452 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.1357, allocations: 8 kB / 431.3 MB, free: 444 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.1359, allocations: 59.36 kB / 431.4 MB, free: 384 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004149/0.1363, allocations: 130.3 kB / 431.5 MB, free: 256 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004214/0.1367, allocations: 155.7 kB / 431.7 MB, free: 100 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2137/0.3504, allocations: 486.7 kB / 432.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.3507, allocations: 92.12 kB / 432.2 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003983/0.3511, allocations: 193.6 kB / 432.4 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002753/0.3514, allocations: 211.1 kB / 432.6 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.334e-05/0.3514, allocations: 39.38 kB / 432.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/0.3516, allocations: 79.72 kB / 432.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.845e-05/0.3517, allocations: 96.61 kB / 432.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001787/0.3519, allocations: 212.3 kB / 433 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004947/0.3524, allocations: 0.5049 MB / 433.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3524, allocations: 3.312 kB / 433.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3524, allocations: 0 / 433.5 MB, free: 7.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.734e-06/0.3524, allocations: 3.219 kB / 433.5 MB, free: 7.406 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001153/0.3536, allocations: 0.7381 MB / 434.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.3536, allocations: 11.06 kB / 434.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.151e-05/0.3537, allocations: 67.97 kB / 434.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.3538, allocations: 57.78 kB / 434.4 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.3542, allocations: 313.5 kB / 434.7 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.062e-05/0.3542, allocations: 30.81 kB / 434.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.003e-05/0.3543, allocations: 37.28 kB / 434.8 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.3549, allocations: 349.4 kB / 435.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.3549, allocations: 1.281 kB / 435.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.156e-05/0.355, allocations: 13.78 kB / 435.1 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.355, allocations: 8.906 kB / 435.2 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004708/0.3554, allocations: 236.4 kB / 435.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001809/0.3572, allocations: 1.175 MB / 436.6 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.3579, allocations: 262 kB / 436.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/0.3584, allocations: 199.9 kB / 437 MB, free: 6.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005298/0.3589, allocations: 1.113 MB / 438.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/0.359, allocations: 37.14 kB / 438.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 1.844e-06/0.359, allocations: 1.688 kB / 438.2 MB, free: 4.688 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.001429/0.3604, allocations: 0.5246 MB / 438.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.3604, allocations: 87.33 kB / 438.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.3608, allocations: 334.1 kB / 439.1 MB, free: 4.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.3608, allocations: 36.5 kB / 439.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001307/0.361, allocations: 221.5 kB / 439.3 MB, free: 4.145 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.896e-05/0.361, allocations: 101.4 kB / 439.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001141/0.3611, allocations: 75.73 kB / 439.5 MB, free: 4.047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.237e-05/0.3612, allocations: 351.2 kB / 439.9 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.3615, allocations: 101.9 kB / 440 MB, free: 3.684 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.3618, allocations: 184.1 kB / 440.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005201/0.3623, allocations: 284.7 kB / 440.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3623, allocations: 2.625 kB / 440.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008092/0.3631, allocations: 435.6 kB / 440.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.3631, allocations: 5.562 kB / 440.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.3631, allocations: 2.812 kB / 440.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002886/0.3634, allocations: 72.31 kB / 440.9 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.3637, allocations: 72.27 kB / 441 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.3653, allocations: 1.956 MB / 443 MB, free: 1.449 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.3656, allocations: 46.27 kB / 443 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.579e-05/0.3656, allocations: 19.7 kB / 443 MB, free: 1.414 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001481/0.3658, allocations: 157.9 kB / 443.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.503e-05/0.3658, allocations: 36.55 kB / 443.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007361/0.3666, allocations: 323.6 kB / 443.5 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3666, allocations: 7.438 kB / 443.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.215e-06/0.3666, allocations: 3.938 kB / 443.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.3666, allocations: 3.156 kB / 443.5 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.367, allocations: 397.8 kB / 443.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.367, allocations: 0 / 443.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003354/0.3674, allocations: 57.38 kB / 444 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002/0.3676, allocations: 56.77 kB / 444 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.3676, allocations: 17.33 kB / 444.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000308/0.3679, allocations: 0.6071 MB / 444.7 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.3679, allocations: 5.141 kB / 444.7 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.3689, allocations: 0.519 MB / 445.2 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.3691, allocations: 116.7 kB / 445.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.3691, allocations: 6.938 kB / 445.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.3694, allocations: 20.23 kB / 445.3 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.3694, allocations: 17.48 kB / 445.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.097e-05/0.3695, allocations: 12.25 kB / 445.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003044/0.3698, allocations: 240.8 kB / 445.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3698, allocations: 0 / 445.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000506/0.3703, allocations: 108 kB / 445.7 MB, free: 15.65 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * 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 (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001486/0.3718, allocations: 1.089 MB / 446.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009615/0.3727, allocations: 388.9 kB / 447.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3727, allocations: 5.125 kB / 447.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003799/0.3731, allocations: 139.4 kB / 447.3 MB, free: 14.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.3735, allocations: 46.86 kB / 447.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00576/0.3792, allocations: 3.754 MB / 451.1 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005201/0.3798, allocations: 0.7898 MB / 451.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000185/0.38, allocations: 40.11 kB / 451.9 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.3802, allocations: 125.6 kB / 452.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3802, allocations: 4 kB / 452.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04167/0.4218, allocations: 7.847 MB / 459.9 MB, free: 9.449 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.6, allocations: 7.484 kB / 459.9 MB, free: 9.449 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.csv --start-time 0 --stop-time 0.003 --timeout 50 --relative-tolerance 2e-07 --interface-type ModelExchange --solver CVode --output-interval 1.2e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.107907652389258] Failed to read output from testmodel.py, exit status != 0: ['time', 'opAmp.q_fp1', 'opAmp.q_fr1', 'opAmp.q_fr2', 'opAmp.q_fr3', 'opAmp.v_in', 'opAmp.v_source', 'opAmp.x'] 12.702058632858098 12.716007465 12.36065296 Calling exit ...