Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 106.4 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 225.6 MB / 244.8 MB, free: 14.16 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 191.7 kB / 299.8 MB, free: 9.812 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.56/0.56, allocations: 99.65 MB / 454.4 MB, free: 5.051 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 75.88 kB / 0.6073 GB, free: 9.512 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1413, allocations: 76.94 MB / 0.6825 GB, free: 12.41 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.007511/0.1489, allocations: 6.359 MB / 0.6887 GB, free: 6.016 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003897/0.1528, allocations: 1.853 MB / 0.6905 GB, free: 4.16 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005896/0.1533, allocations: 8 kB / 0.6905 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006124/0.154, allocations: 234.1 kB / 0.6907 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0016/0.1556, allocations: 0.6367 MB / 0.6913 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001787/0.1573, allocations: 0.7716 MB / 0.6921 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001924/0.1593, allocations: 1.455 MB / 0.6935 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004056/0.1597, allocations: 195.4 kB / 0.6937 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008856/0.1606, allocations: 0.5796 MB / 0.6943 GB, free: 272 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2626/0.4232, allocations: 0.763 MB / 0.695 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003616/0.4235, allocations: 114 kB / 0.6951 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005609/0.4241, allocations: 226.8 kB / 0.6953 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002576/0.4243, allocations: 298.2 kB / 0.6956 GB, free: 9.328 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005869/0.4249, allocations: 0.62 MB / 0.6962 GB, free: 9.238 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.4265, allocations: 1.544 MB / 0.6977 GB, free: 8.996 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4265, allocations: 0.875 kB / 0.6977 GB, free: 8.996 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4265, allocations: 0 / 0.6977 GB, free: 8.996 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.545e-05/0.4265, allocations: 0 / 0.6977 GB, free: 8.996 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 180 * Number of variables: 180 Notification: Performance of Generate backend data structure: time 0.008077/0.4346, allocations: 2.621 MB / 0.7003 GB, free: 8.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4346, allocations: 9.844 kB / 0.7003 GB, free: 8.113 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.4348, allocations: 122.8 kB / 0.7004 GB, free: 8.074 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/0.4389, allocations: 0.6891 MB / 0.7011 GB, free: 7.988 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001237/0.4401, allocations: 0.7925 MB / 0.7019 GB, free: 7.621 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003051/0.4404, allocations: 353.9 kB / 0.7022 GB, free: 7.328 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/0.4406, allocations: 77.67 kB / 0.7023 GB, free: 7.328 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.4428, allocations: 1.156 MB / 0.7034 GB, free: 7.219 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.4428, allocations: 9.062 kB / 0.7034 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.65e-05/0.4429, allocations: 27.84 kB / 0.7034 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.4429, allocations: 21.09 kB / 0.7035 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002179/0.4451, allocations: 1.082 MB / 0.7045 GB, free: 7.199 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006016/0.4511, allocations: 3.871 MB / 0.7083 GB, free: 5.172 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007207/0.4583, allocations: 2.407 MB / 0.7107 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001838/0.4601, allocations: 0.6851 MB / 0.7113 GB, free: 3.977 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001299/0.4602, allocations: 19.39 kB / 0.7113 GB, free: 3.973 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.4603, allocations: 50.45 kB / 0.7114 GB, free: 3.922 MB / 494.1 MB Notification: Performance of pre-optimization done (n=90): time 2.745e-06/0.4603, allocations: 1.156 kB / 0.7114 GB, free: 3.922 MB / 494.1 MB Notification: Performance of matching and sorting (n=90): time 0.0349/0.4952, allocations: 8.49 MB / 0.7197 GB, free: 1.465 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.4952, allocations: 87.39 kB / 0.7198 GB, free: 1.371 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.4965, allocations: 0.9103 MB / 0.7207 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002201/0.4967, allocations: 40.36 kB / 0.7207 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.4969, allocations: 483.1 kB / 0.7212 GB, free: 400 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003485/0.4973, allocations: 335.8 kB / 0.7215 GB, free: 108 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004957/0.4978, allocations: 160.3 kB / 0.7216 GB, free: 4 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.498, allocations: 346.4 kB / 0.722 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001966/0.4999, allocations: 0.6578 MB / 0.7226 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.502, allocations: 0.8197 MB / 0.7234 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003334/0.5053, allocations: 1.497 MB / 0.7249 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.5053, allocations: 1.062 kB / 0.7249 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.01587/0.5212, allocations: 4.463 MB / 0.7292 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/0.5212, allocations: 8.781 kB / 0.7292 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.5212, allocations: 9.906 kB / 0.7292 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008228/0.5294, allocations: 2.3 MB / 0.7315 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/0.5302, allocations: 141.7 kB / 0.7316 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02998/0.5602, allocations: 11.12 MB / 0.7425 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.562, allocations: 171.3 kB / 0.7426 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001719/0.5621, allocations: 35.98 kB / 0.7427 GB, free: 2.914 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (79): * Single equations (assignments): 78 * 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 {(26,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005421/0.5627, allocations: 228 kB / 0.7429 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003167/0.563, allocations: 119.2 kB / 0.743 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01551/0.5785, allocations: 4.41 MB / 0.7473 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/0.5785, allocations: 12 kB / 0.7473 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.5785, allocations: 0 / 0.7473 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.411e-05/0.5786, allocations: 10.64 kB / 0.7473 GB, free: 14.17 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01887/0.5974, allocations: 6.02 MB / 0.7532 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.428e-05/0.5974, allocations: 0 / 0.7532 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/0.598, allocations: 83.14 kB / 0.7533 GB, free: 7.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008214/0.6062, allocations: 2.163 MB / 0.7554 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003/0.6065, allocations: 26.8 kB / 0.7554 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02612/0.6326, allocations: 9.871 MB / 0.7651 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.6326, allocations: 0 / 0.7651 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01749/0.6501, allocations: 5.419 MB / 0.7704 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000557/0.6506, allocations: 216.2 kB / 0.7706 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/0.6508, allocations: 19.28 kB / 0.7706 GB, free: 6.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.652, allocations: 103.9 kB / 0.7707 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000738/0.6527, allocations: 225.7 kB / 0.7709 GB, free: 5.824 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.364e-05/0.6528, allocations: 24 kB / 0.7709 GB, free: 5.801 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0009359/0.6537, allocations: 0.6269 MB / 0.7715 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6537, allocations: 0 / 0.7715 GB, free: 5.164 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001391/0.6551, allocations: 451.7 kB / 0.772 GB, free: 4.723 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (gENCLS.delta,gENCLS.eq,gENCLS.omega) * 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 (50): * Single equations (assignments): 49 * 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 {(26,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01791/0.673, allocations: 5.997 MB / 0.7778 GB, free: 14.73 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007858/0.6809, allocations: 2.445 MB / 0.7802 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.6809, allocations: 0 / 0.7802 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.005784/0.6867, allocations: 1.678 MB / 0.7819 GB, free: 10.62 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.6877, allocations: 107.2 kB / 0.782 GB, free: 10.52 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04212/0.7298, allocations: 15.88 MB / 0.7975 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007655/0.7306, allocations: 1.065 MB / 0.7985 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004103/0.731, allocations: 94.62 kB / 0.7986 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006494/0.7317, allocations: 411.3 kB / 0.799 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of SimCode: time 8.92e-07/0.7317, allocations: 0 / 0.799 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08101/0.8127, allocations: 37.6 MB / 0.8357 GB, free: 3.551 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.64/17.45, allocations: 10.86 kB / 0.8357 GB, free: 3.543 MB / 0.5919 GB " [Timeout remaining time 642] (rm -f OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; mkfifo OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe ; head -c 1048576 < OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe >> ../files/OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource.fmu > OpenIPSL_dev_OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.76197303691879] Failed to read output from testmodel.py, exit status != 0: 17.567540291231126 17.588584971 17.157971285 Calling exit ...