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.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.001284/0.001284, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.362/1.362, allocations: 230.6 MB / 250.5 MB, free: 9.395 MB / 206.1 MB " [Timeout remaining time 178] 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.001565/0.001565, allocations: 207.8 kB / 306.7 MB, free: 4.336 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/package.mo): time 0.5356/0.5356, allocations: 101.3 MB / 464 MB, free: 12.02 MB / 334.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL master/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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Sources_SourcesBehindImpedance_VSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: OpenIPSL requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: OpenIPSL requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003398/0.003398, allocations: 81.28 kB / 0.62 GB, free: 15.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1689, allocations: 78.56 MB / 0.6967 GB, free: 0.832 MB / 494.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Sources.SourcesBehindImpedance.VSource): time 0.2952/0.4641, allocations: 6.363 MB / 0.7029 GB, free: 5.289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003965/0.4681, allocations: 1.879 MB / 0.7047 GB, free: 3.965 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007679/0.4689, allocations: 9.406 kB / 0.7047 GB, free: 3.965 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005874/0.4695, allocations: 240.9 kB / 0.705 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001437/0.4709, allocations: 0.6286 MB / 0.7056 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001574/0.4725, allocations: 0.7332 MB / 0.7063 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001969/0.4744, allocations: 1.451 MB / 0.7077 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/0.4748, allocations: 207.2 kB / 0.7079 GB, free: 2.195 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007713/0.4756, allocations: 0.6073 MB / 0.7085 GB, free: 1.898 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007458/0.4763, allocations: 0.7565 MB / 0.7093 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000145/0.4765, allocations: 114.8 kB / 0.7094 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004214/0.4769, allocations: 225.7 kB / 0.7096 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.4771, allocations: 297.9 kB / 0.7099 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004429/0.4775, allocations: 0.6214 MB / 0.7105 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001728/0.4793, allocations: 1.544 MB / 0.712 GB, free: 196 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4793, allocations: 0 / 0.712 GB, free: 196 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4793, allocations: 0 / 0.712 GB, free: 196 kB / 494.1 MB Notification: Performance of Transformations before backend: time 2.323e-05/0.4793, allocations: 0 / 0.712 GB, free: 196 kB / 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.008982/0.4883, allocations: 2.619 MB / 0.7145 GB, free: 15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.4883, allocations: 14.75 kB / 0.7145 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.654e-05/0.4884, allocations: 15.78 kB / 0.7146 GB, free: 15 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001626/0.4885, allocations: 123.7 kB / 0.7147 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/0.4927, allocations: 0.6894 MB / 0.7154 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.4941, allocations: 0.797 MB / 0.7161 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004302/0.4946, allocations: 343.5 kB / 0.7165 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.4947, allocations: 74.66 kB / 0.7165 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.4973, allocations: 1.166 MB / 0.7177 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.4973, allocations: 0 / 0.7177 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001003/0.4974, allocations: 25.47 kB / 0.7177 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.4974, allocations: 18.72 kB / 0.7177 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002687/0.5001, allocations: 1.089 MB / 0.7188 GB, free: 13.01 MB / 0.4981 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 preOpt removeSimpleEquations (simulation): time 0.007754/0.5078, allocations: 3.879 MB / 0.7226 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008458/0.5163, allocations: 2.418 MB / 0.7249 GB, free: 9.641 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002047/0.5183, allocations: 0.6842 MB / 0.7256 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001354/0.5185, allocations: 17.39 kB / 0.7256 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.998e-05/0.5185, allocations: 40.12 kB / 0.7256 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=90): time 2.725e-06/0.5185, allocations: 0 / 0.7256 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=90): time 0.03657/0.5551, allocations: 8.505 MB / 0.734 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.244e-05/0.5552, allocations: 91.11 kB / 0.734 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.5568, allocations: 0.9164 MB / 0.7349 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003369/0.5571, allocations: 41.17 kB / 0.735 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/0.5575, allocations: 473.9 kB / 0.7354 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004442/0.558, allocations: 331.1 kB / 0.7357 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003982/0.5584, allocations: 168.1 kB / 0.7359 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001697/0.5586, allocations: 337.8 kB / 0.7362 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001662/0.5602, allocations: 0.6628 MB / 0.7369 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001841/0.5621, allocations: 0.8125 MB / 0.7377 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003445/0.5655, allocations: 1.498 MB / 0.7391 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.5655, allocations: 2.281 kB / 0.7391 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0165/0.582, allocations: 4.473 MB / 0.7435 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.582, allocations: 10.16 kB / 0.7435 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.5821, allocations: 3.812 kB / 0.7435 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008316/0.5904, allocations: 2.29 MB / 0.7457 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007178/0.5911, allocations: 132.3 kB / 0.7459 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03069/0.6218, allocations: 11.13 MB / 0.7567 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.6235, allocations: 171.3 kB / 0.7569 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.6237, allocations: 36 kB / 0.7569 GB, free: 3.812 MB / 0.5137 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.0005022/0.6242, allocations: 230.5 kB / 0.7572 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.6244, allocations: 127.2 kB / 0.7573 GB, free: 3.453 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01616/0.6406, allocations: 4.403 MB / 0.7616 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-05/0.6406, allocations: 8 kB / 0.7616 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.6406, allocations: 5.078 kB / 0.7616 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.78e-05/0.6407, allocations: 7.922 kB / 0.7616 GB, free: 15.02 MB / 0.5294 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.01885/0.6595, allocations: 6.022 MB / 0.7675 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.6595, allocations: 0 / 0.7675 GB, free: 8.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/0.6601, allocations: 79.91 kB / 0.7676 GB, free: 8.777 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008117/0.6682, allocations: 2.175 MB / 0.7697 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/0.6684, allocations: 16 kB / 0.7697 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02719/0.6956, allocations: 9.872 MB / 0.7793 GB, free: 12.57 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6956, allocations: 4 kB / 0.7793 GB, free: 12.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/0.7139, allocations: 5.429 MB / 0.7846 GB, free: 7.109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005291/0.7144, allocations: 208.2 kB / 0.7848 GB, free: 6.887 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002068/0.7146, allocations: 19.94 kB / 0.7849 GB, free: 6.867 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001213/0.7158, allocations: 107.9 kB / 0.785 GB, free: 6.762 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008065/0.7166, allocations: 232.2 kB / 0.7852 GB, free: 6.539 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.148e-05/0.7167, allocations: 27.98 kB / 0.7852 GB, free: 6.512 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009158/0.7176, allocations: 0.6268 MB / 0.7858 GB, free: 5.875 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7176, allocations: 4 kB / 0.7858 GB, free: 5.871 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001495/0.7191, allocations: 443.7 kB / 0.7863 GB, free: 5.438 MB / 0.545 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.01856/0.7377, allocations: 5.996 MB / 0.7921 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.008443/0.7461, allocations: 2.438 MB / 0.7945 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.7461, allocations: 0 / 0.7945 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006156/0.7523, allocations: 1.677 MB / 0.7961 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.7533, allocations: 96.31 kB / 0.7962 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04437/0.7977, allocations: 15.88 MB / 0.8117 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/0.7984, allocations: 1.076 MB / 0.8128 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0003958/0.7988, allocations: 86.69 kB / 0.8129 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005671/0.7994, allocations: 419.3 kB / 0.8133 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.7994, allocations: 0 / 0.8133 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08303/0.8824, allocations: 37.64 MB / 0.85 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.68/17.56, allocations: 19.05 kB / 0.85 GB, free: 3.949 MB / 0.6075 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: 21.05036695196759] Failed to read output from testmodel.py, exit status != 0: 17.733284482965246 17.759331157 17.275211955 Calling exit ...