Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.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.001696/0.001696, allocations: 121.6 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.001985/0.001985, allocations: 205 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.44/1.44, allocations: 230.5 MB / 254.8 MB, free: 15.1 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.InvertingAmp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_InvertingAmp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.InvertingAmp,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_InvertingAmp",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.00198/0.00198, allocations: 75.81 kB / 373.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1068, allocations: 53.32 MB / 427 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.InvertingAmp): time 0.004182/0.111, allocations: 2.81 MB / 429.8 MB, free: 2.027 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1123, allocations: 0.6739 MB / 430.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.1124, allocations: 11.94 kB / 430.5 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.1126, allocations: 47.56 kB / 430.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.1127, allocations: 91.19 kB / 430.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000294/0.113, allocations: 87.81 kB / 430.7 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004305/0.1135, allocations: 374.5 kB / 431.1 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002087/0.1137, allocations: 86.95 kB / 431.2 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.1139, allocations: 159.4 kB / 431.4 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.1141, allocations: 163.3 kB / 431.5 MB, free: 348 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.929e-05/0.1141, allocations: 39.94 kB / 431.6 MB, free: 308 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.207e-05/0.1142, allocations: 32 kB / 431.6 MB, free: 276 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.063e-05/0.1143, allocations: 71.75 kB / 431.7 MB, free: 204 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001602/0.1144, allocations: 163.2 kB / 431.8 MB, free: 40 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.206/0.3204, allocations: 377.6 kB / 432.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3204, allocations: 0.7188 kB / 432.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3204, allocations: 0 / 432.2 MB, free: 8.035 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.3204, allocations: 0.875 kB / 432.2 MB, free: 8.035 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001369/0.3218, allocations: 0.6586 MB / 432.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.3218, allocations: 10.59 kB / 432.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.396e-05/0.3219, allocations: 56.91 kB / 432.9 MB, free: 7.508 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.73e-05/0.322, allocations: 37.45 kB / 432.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.3224, allocations: 277.9 kB / 433.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/0.3224, allocations: 18.31 kB / 433.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.3224, allocations: 24.31 kB / 433.3 MB, free: 7.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/0.3231, allocations: 304.5 kB / 433.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.3231, allocations: 5.25 kB / 433.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.096e-05/0.3232, allocations: 12 kB / 433.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3232, allocations: 6.875 kB / 433.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008072/0.324, allocations: 250.1 kB / 433.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.3254, allocations: 1.092 MB / 434.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007825/0.3262, allocations: 201.9 kB / 435.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003158/0.3265, allocations: 87.94 kB / 435.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.37e-05/0.3266, allocations: 6.953 kB / 435.2 MB, free: 6.574 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004668/0.327, allocations: 162.5 kB / 435.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.504e-06/0.327, allocations: 7.5 kB / 435.4 MB, free: 6.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002162/0.3292, allocations: 0.5063 MB / 435.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.599e-05/0.3292, allocations: 107.7 kB / 436 MB, free: 6.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.3295, allocations: 289.2 kB / 436.3 MB, free: 6.113 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.3296, allocations: 33.39 kB / 436.3 MB, free: 6.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.3297, allocations: 200.4 kB / 436.5 MB, free: 5.949 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3297, allocations: 40.38 kB / 436.5 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.525e-05/0.3298, allocations: 52.25 kB / 436.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.189e-05/0.3299, allocations: 340 kB / 436.9 MB, free: 5.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003419/0.3302, allocations: 90.38 kB / 437 MB, free: 5.586 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003712/0.3306, allocations: 202.6 kB / 437.2 MB, free: 5.453 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006817/0.3313, allocations: 307.5 kB / 437.5 MB, free: 5.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.3313, allocations: 5.094 kB / 437.5 MB, free: 5.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001252/0.3325, allocations: 419 kB / 437.9 MB, free: 5.207 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.3326, allocations: 35.48 kB / 437.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.3326, allocations: 4.375 kB / 438 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000354/0.3329, allocations: 80.53 kB / 438 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002154/0.3331, allocations: 46.73 kB / 438.1 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.3353, allocations: 1.713 MB / 439.8 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003964/0.3357, allocations: 53.72 kB / 439.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.3357, allocations: 10.36 kB / 439.9 MB, free: 3.777 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.3358, allocations: 154.8 kB / 440 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.052e-05/0.3359, allocations: 30.83 kB / 440 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.147e-05/0.3359, allocations: 30.42 kB / 440.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.3359, allocations: 1.406 kB / 440.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.3359, allocations: 0 / 440.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.3359, allocations: 0.6562 kB / 440.1 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.3362, allocations: 305.9 kB / 440.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3362, allocations: 0 / 440.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.3363, allocations: 18.64 kB / 440.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000262/0.3366, allocations: 74.52 kB / 440.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3366, allocations: 0 / 440.5 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001854/0.3384, allocations: 1.701 MB / 442.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3384, allocations: 2.531 kB / 442.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001057/0.3395, allocations: 315.3 kB / 442.5 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.613e-05/0.3396, allocations: 110.9 kB / 442.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.3396, allocations: 10.16 kB / 442.6 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.3399, allocations: 29.89 kB / 442.6 MB, free: 1.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.3399, allocations: 24.61 kB / 442.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3399, allocations: 2.828 kB / 442.6 MB, free: 1.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.3401, allocations: 204.2 kB / 442.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3401, allocations: 0.9375 kB / 442.8 MB, free: 1.695 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003674/0.3405, allocations: 80.53 kB / 442.9 MB, free: 1.68 MB / 350.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: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001212/0.3417, allocations: 0.8493 MB / 443.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001037/0.3427, allocations: 410.2 kB / 444.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3427, allocations: 0 / 444.2 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004429/0.3432, allocations: 217.1 kB / 444.4 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.3435, allocations: 47.05 kB / 444.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005514/0.349, allocations: 3.008 MB / 447.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.3494, allocations: 0.7525 MB / 448.2 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.3495, allocations: 26.22 kB / 448.2 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.3497, allocations: 78.02 kB / 448.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3497, allocations: 3.75 kB / 448.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03418/0.3839, allocations: 6.874 MB / 455.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.91, allocations: 1.312 kB / 455.2 MB, free: 12.34 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_InvertingAmp.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.InvertingAmp.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.416484738700092] Failed to read output from testmodel.py, exit status != 0: ['time', 'vIn.signalSource.y'] 12.01070902729407 12.033001074 11.70837907 Calling exit ...