Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 182.7 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5038/0.5038, allocations: 87.5 MB / 104.9 MB, free: 13.03 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 349.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 96 kB / 420 MB, free: 8.504 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001001/0.001001, allocations: 56.11 kB / 0.4891 GB, free: 7.707 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.301, allocations: 70.06 MB / 0.5575 GB, free: 44.71 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipeDiscretized): time 0.04699/0.348, allocations: 66.14 MB / 0.6221 GB, free: 10.85 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0208/0.3689, allocations: 16.82 MB / 0.6385 GB, free: 9.984 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002441/0.3714, allocations: 59.62 kB / 0.6386 GB, free: 9.926 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002037/0.3734, allocations: 0.6527 MB / 0.6392 GB, free: 9.27 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006592/0.3801, allocations: 2.352 MB / 0.6415 GB, free: 6.91 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004694/0.3848, allocations: 1.613 MB / 0.6431 GB, free: 5.305 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.05028/0.4351, allocations: 45.82 MB / 0.6878 GB, free: 7.375 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01908/0.4542, allocations: 12.47 MB / 0.7 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02098/0.4752, allocations: 8.83 MB / 0.7086 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3636/0.8389, allocations: 9.185 MB / 0.7176 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.005862/0.8448, allocations: 0.5707 MB / 0.7181 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01445/0.8593, allocations: 2.127 MB / 0.7202 GB, free: 21.93 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.006113/0.8654, allocations: 2.285 MB / 0.7225 GB, free: 21.64 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.02266/0.8881, allocations: 6.214 MB / 0.7285 GB, free: 19.93 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.03329/0.9214, allocations: 21.11 MB / 0.7491 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.9215, allocations: 0 / 0.7491 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9215, allocations: 0 / 0.7491 GB, free: 17.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0008551/0.9224, allocations: 0.75 kB / 0.7491 GB, free: 17.8 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1830 * Number of variables: 1830 Notification: Performance of Generate backend data structure: time 0.04752/0.9699, allocations: 13.11 MB / 0.7619 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.418e-05/0.97, allocations: 7.469 kB / 0.7619 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008979/0.979, allocations: 1.283 MB / 0.7632 GB, free: 12.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02949/1.009, allocations: 13.37 MB / 0.7763 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004231/1.009, allocations: 0.5295 MB / 0.7768 GB, free: 8.551 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003281/1.012, allocations: 0.7217 MB / 0.7775 GB, free: 8.531 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02965/1.042, allocations: 11.18 MB / 0.7884 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003786/1.042, allocations: 34.5 kB / 0.7884 GB, free: 5.309 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003089/1.045, allocations: 306.7 kB / 0.7887 GB, free: 5.277 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002357/1.046, allocations: 216.3 kB / 0.7889 GB, free: 5.258 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02337/1.069, allocations: 9.242 MB / 0.798 GB, free: 0.5078 MB / 0.5105 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.09538/1.164, allocations: 51.17 MB / 0.8479 GB, free: 13.87 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/1.175, allocations: 4.862 MB / 0.8527 GB, free: 9.059 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005599/1.181, allocations: 2.825 MB / 0.8554 GB, free: 6.23 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001733/1.183, allocations: 1.716 MB / 0.8571 GB, free: 4.195 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001141/1.183, allocations: 93.27 kB / 0.8572 GB, free: 4.094 MB / 0.573 GB Notification: Performance of pre-optimization done (n=420): time 8.215e-06/1.183, allocations: 0 / 0.8572 GB, free: 4.094 MB / 0.573 GB Notification: Performance of matching and sorting (n=420): time 0.01736/1.2, allocations: 7.812 MB / 0.8648 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.82e-05/1.2, allocations: 94.55 kB / 0.8649 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02397/1.224, allocations: 9.982 MB / 0.8747 GB, free: 2.211 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.001458/1.226, allocations: 109.7 kB / 0.8748 GB, free: 2.098 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.006195/1.232, allocations: 4.734 MB / 0.8794 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.003257/1.235, allocations: 1.483 MB / 0.8808 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00236/1.238, allocations: 1.107 MB / 0.8819 GB, free: 10.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.792e-05/1.238, allocations: 303 kB / 0.8822 GB, free: 10.54 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004441/1.242, allocations: 2.648 MB / 0.8848 GB, free: 7.875 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005683/1.248, allocations: 4.158 MB / 0.8889 GB, free: 3.074 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01172/1.26, allocations: 7.386 MB / 0.8961 GB, free: 11.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.867e-05/1.26, allocations: 16 kB / 0.8961 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=694) (initialization): time 0.01908/1.279, allocations: 7.914 MB / 0.9038 GB, free: 3.547 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.46e-05/1.279, allocations: 24.97 kB / 0.9038 GB, free: 3.523 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001992/1.279, allocations: 71.97 kB / 0.9039 GB, free: 3.453 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.065e-05/1.279, allocations: 80 kB / 0.904 GB, free: 3.375 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004812/1.284, allocations: 1.202 MB / 0.9052 GB, free: 2.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001418/1.284, allocations: 111.4 kB / 0.9053 GB, free: 2.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01107/1.295, allocations: 1.01 MB / 0.9062 GB, free: 1.145 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/1.297, allocations: 283.9 kB / 0.9065 GB, free: 0.8672 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01483/1.312, allocations: 6.408 MB / 0.9128 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007303/1.319, allocations: 4.162 MB / 0.9168 GB, free: 5.648 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01373/1.333, allocations: 7.38 MB / 0.924 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.656e-05/1.333, allocations: 12 kB / 0.9241 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=694) (initialization_lambda0): time 0.02231/1.355, allocations: 7.92 MB / 0.9318 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.014e-05/1.355, allocations: 24 kB / 0.9318 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002317/1.356, allocations: 75.97 kB / 0.9319 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.722e-05/1.356, allocations: 72 kB / 0.932 GB, free: 5.965 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004731/1.361, allocations: 1.207 MB / 0.9331 GB, free: 4.836 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001067/1.361, allocations: 99.28 kB / 0.9332 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01019/1.371, allocations: 0.9173 MB / 0.9341 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001428/1.372, allocations: 283.9 kB / 0.9344 GB, free: 3.559 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 211 * 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 (674): * Single equations (assignments): 654 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * 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.001932/1.374, allocations: 0.51 MB / 0.9349 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00457/1.379, allocations: 0.8448 MB / 0.9357 GB, free: 2.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02139/1.4, allocations: 8.916 MB / 0.9444 GB, free: 9.457 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.594e-05/1.4, allocations: 75.95 kB / 0.9445 GB, free: 9.383 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/1.4, allocations: 3.938 kB / 0.9445 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01035/1.411, allocations: 6.116 MB / 0.9505 GB, free: 3.184 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4309/1.842, allocations: 20.06 MB / 0.9701 GB, free: 200.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001386/1.842, allocations: 40.48 kB / 0.9701 GB, free: 200.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004283/1.846, allocations: 0.9381 MB / 0.971 GB, free: 200.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.95e-05/1.846, allocations: 34.44 kB / 0.971 GB, free: 200.1 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007033/1.847, allocations: 192 kB / 0.9712 GB, free: 200.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.045e-05/1.847, allocations: 39.44 kB / 0.9713 GB, free: 200.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-05/1.847, allocations: 26.34 kB / 0.9713 GB, free: 200.1 MB / 0.6667 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "(pip.pipSeg[1].senMasFlo.port_a.h_outflow, pip.pipSeg[1].del.port_b.h_outflow) = spatialDistribution(0, senTemIn.port_a.h_outflow, pip.pipSeg[1].port_b.h_outflow, pip.pipSeg[1].del.x / pip.pipSeg[1].del.length, pip.v >= 0.0, {0.0, 1.0}, {pip.pipSeg[1].del.h_ini_in, pip.pipSeg[1].del.h_ini_out})" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0371/1.884, allocations: 19.74 MB / 0.9906 GB, free: 194.4 MB / 0.6667 GB Error: post-optimization module symbolicJacobian (simulation) failed.